Loading template/app/controller/Comments.js +6 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,10 @@ Ext.define('Docs.controller.Comments', { authMixin: 'Docs.controller.AuthHelpers' }, requires: [ "Docs.Syntax" ], refs: [ { ref: 'viewport', Loading Loading @@ -553,6 +557,7 @@ Ext.define('Docs.controller.Comments', { } } else { Docs.view.Comments.commentsTpl.append(comments, data); Docs.Syntax.highlight(comments); } if (opts.hideCommentForm) { Loading Loading @@ -604,6 +609,7 @@ Ext.define('Docs.controller.Comments', { } Docs.view.Comments.commentTpl.insertBefore(newCommentWrap, data); Docs.Syntax.highlight(newCommentWrap.up(".comment-list")); }, commentId: function(id) { Loading Loading
template/app/controller/Comments.js +6 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,10 @@ Ext.define('Docs.controller.Comments', { authMixin: 'Docs.controller.AuthHelpers' }, requires: [ "Docs.Syntax" ], refs: [ { ref: 'viewport', Loading Loading @@ -553,6 +557,7 @@ Ext.define('Docs.controller.Comments', { } } else { Docs.view.Comments.commentsTpl.append(comments, data); Docs.Syntax.highlight(comments); } if (opts.hideCommentForm) { Loading Loading @@ -604,6 +609,7 @@ Ext.define('Docs.controller.Comments', { } Docs.view.Comments.commentTpl.insertBefore(newCommentWrap, data); Docs.Syntax.highlight(newCommentWrap.up(".comment-list")); }, commentId: function(id) { Loading