Lines Matching refs:ui

4 Draw.loadPlugin(function(ui)  argument
16 var uiCreateLoadMessage = ui.createLoadMessage;
18 ui.createLoadMessage = function(eventName)
32 ui.editor.setStatus(mxUtils.htmlEntities(mxResources.get('unsavedChanges')));
33 ui.editor.setModified(true);
36 var origRemoteInvoke = ui.remoteInvoke;
38 ui.remoteInvoke = function()
50 origRemoteInvoke.apply(ui, arguments);
54 ui.getCurrentUser = function()
58 ui.remoteInvoke('getCurrentUser', null, null, function(user)
74 ui.commentsSupported = function()
80 ui.canReplyToReplies = function()
85 ui.commentsRefreshNeeded = function()
110 var comment = new DrawioComment({attVer: atlasComment.attVer, ui: ui}, atlasComment.id,
146 ui.initComments = function(contentId, success, error)
150ui.remoteInvoke('getOldComments', [contentId], null, function(comments, spaceKey, pageId, pageType…
182 ui.getComments = function(success, error)
194 ui.remoteInvoke('getComments', [null, false], null, function(comments, siteUrl)
246 ui.addComment = function(comment, success, error)
254 ui.remoteInvoke('addComment', [comment.content], null, function(id, version, attVer)
265 if (ui.saveComments != null)
270 ui.saveComments(tmpComments, function()
283 ui.newComment = function(content, user)
285 …return new DrawioComment(commentsVer == 2? {ui: ui} : null, null, //remove file information for ol…
297ui.remoteInvoke('addCommentReply', [this.id, this.file.attVer, reply.content, doResolve], null, fu…
305 if (ui.saveComments != null)
324 ui.saveComments(tmpComments, function()
347 ui.remoteInvoke('editComment', [this.id, this.version, newContent], null, function(version)
355 if (ui.saveComments != null)
362 ui.saveComments(tmpComments, success, error);
380ui.remoteInvoke('deleteComment', [this.id, this.version, this.replies != null && this.replies.leng…
384 if (ui.saveComments != null)
390 ui.saveComments(tmpComments, success, function(err)
405 ui.getCurrentUser();