Lines Matching refs:error
146 ui.initComments = function(contentId, success, error) argument
170 if (error)
172 error();
182 ui.getComments = function(success, error) argument
186 error(); //User can refresh to retry, we don't have content id here to get the old comments
242 }, error);
246 ui.addComment = function(comment, success, error) argument
250 error();
259 }, error);
273 }, error);
289 DrawioComment.prototype.addReply = function(reply, success, error, doResolve, doReopen) argument
293 error();
301 }, error);
327 }, error);
337 DrawioComment.prototype.editComment = function(newContent, success, error) argument
341 error();
351 }, error);
362 ui.saveComments(tmpComments, success, error);
372 DrawioComment.prototype.deleteComment = function(success, error) argument
376 error();
380 …', [this.id, this.version, this.replies != null && this.replies.length > 0], null, success, error);
393 error(err);