Lines Matching refs:success
146 ui.initComments = function(contentId, success, error) argument
164 if (success)
166 success(spaceKey, pageId, pageType, contentVer);
176 else if (success)
178 success(confComments);
182 ui.getComments = function(success, error) argument
190 success(confComments);
241 success(conComments);
246 ui.addComment = function(comment, success, error) argument
258 success(id);
272 success(comment.id);
278 success(comment.id);
289 DrawioComment.prototype.addReply = function(reply, success, error, doResolve, doReopen) argument
300 success(id);
326 success(reply.id);
332 success();
337 DrawioComment.prototype.editComment = function(newContent, success, error) argument
350 success();
362 ui.saveComments(tmpComments, success, error);
367 success();
372 DrawioComment.prototype.deleteComment = function(success, error) argument
380 …', [this.id, this.version, this.replies != null && this.replies.length > 0], null, success, error);
390 ui.saveComments(tmpComments, success, function(err)
399 success();