mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-06 09:21:54 +00:00
add comment (#3007)
This commit is contained in:
@@ -29,6 +29,8 @@ class EditorUtilities {
|
||||
this.serviceUrl = serviceUrl;
|
||||
this.name = userName;
|
||||
this.contact_email = userInfo.contact_email;
|
||||
this.fileName = fileName;
|
||||
this.userName = userName;
|
||||
}
|
||||
|
||||
saveContent(content) {
|
||||
@@ -204,7 +206,7 @@ class EditorUtilities {
|
||||
}
|
||||
|
||||
getCommentsNumber() {
|
||||
return seafileAPI.getCommentsNumber(this.repoID, dirPath);
|
||||
return seafileAPI.getCommentsNumber(this.repoID, filePath);
|
||||
}
|
||||
|
||||
postComment(comment, detail) {
|
||||
|
Reference in New Issue
Block a user