1
0
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:
Michael An
2019-02-27 12:22:13 +08:00
committed by Daniel Pan
parent c1d55eb241
commit e7e766f815

View File

@@ -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) {