Loading template/app/controller/Comments.js +4 −4 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ Ext.define('Docs.controller.Comments', { }, { ref: 'commentsList', selector: 'commentslist' selector: 'commentsList' } ], Loading Loading @@ -142,20 +142,20 @@ Ext.define('Docs.controller.Comments', { } }, 'commentslist': { 'commentsList': { settingChange: function() { this.fetchRecentComments(); } }, 'commentsusers': { 'commentsUsers': { select: function(username) { this.recentCommentsSettings.username = username; this.fetchRecentComments(); } }, 'commentstargets': { 'commentsTargets': { select: function(target) { this.recentCommentsSettings.targetId = target && target.get("id"); this.fetchRecentComments(); Loading template/app/view/comments/Index.js +5 −5 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ Ext.define('Docs.view.comments.Index', { items: [ { region: "center", xtype: "commentslist" xtype: "commentsList" }, { region: "east", Loading @@ -37,10 +37,10 @@ Ext.define('Docs.view.comments.Index', { ], items: [ { xtype: "commentsusers" xtype: "commentsUsers" }, { xtype: "commentstargets" xtype: "commentsTargets" } ] } Loading @@ -50,8 +50,8 @@ Ext.define('Docs.view.comments.Index', { this.callParent(arguments); var cardPanel = this.down("#cardPanel"); var users = this.down("commentsusers"); var targets = this.down("commentstargets"); var users = this.down("commentsUsers"); var targets = this.down("commentsTargets"); this.down("commentsHeaderMenu").on("select", function(item) { if (item === "users") { targets.deselectAll(); Loading template/app/view/comments/List.js +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ */ Ext.define('Docs.view.comments.List', { extend: 'Ext.panel.Panel', alias: "widget.commentslist", alias: "widget.commentsList", requires: ['Docs.Settings'], componentCls: 'comment-index-container', Loading template/app/view/comments/Targets.js +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ * View for showing topics (classes, members, guides, ...). */ Ext.define('Docs.view.comments.Targets', { alias: "widget.commentstargets", alias: "widget.commentsTargets", extend: 'Ext.panel.Panel', componentCls: "comments-targets", requires: ["Docs.Comments"], Loading template/app/view/comments/Users.js +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ * Either sorted by upvotes or comment count. */ Ext.define('Docs.view.comments.Users', { alias: "widget.commentsusers", alias: "widget.commentsUsers", extend: 'Ext.panel.Panel', componentCls: "comments-users", requires: ["Docs.Comments"], Loading Loading
template/app/controller/Comments.js +4 −4 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ Ext.define('Docs.controller.Comments', { }, { ref: 'commentsList', selector: 'commentslist' selector: 'commentsList' } ], Loading Loading @@ -142,20 +142,20 @@ Ext.define('Docs.controller.Comments', { } }, 'commentslist': { 'commentsList': { settingChange: function() { this.fetchRecentComments(); } }, 'commentsusers': { 'commentsUsers': { select: function(username) { this.recentCommentsSettings.username = username; this.fetchRecentComments(); } }, 'commentstargets': { 'commentsTargets': { select: function(target) { this.recentCommentsSettings.targetId = target && target.get("id"); this.fetchRecentComments(); Loading
template/app/view/comments/Index.js +5 −5 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ Ext.define('Docs.view.comments.Index', { items: [ { region: "center", xtype: "commentslist" xtype: "commentsList" }, { region: "east", Loading @@ -37,10 +37,10 @@ Ext.define('Docs.view.comments.Index', { ], items: [ { xtype: "commentsusers" xtype: "commentsUsers" }, { xtype: "commentstargets" xtype: "commentsTargets" } ] } Loading @@ -50,8 +50,8 @@ Ext.define('Docs.view.comments.Index', { this.callParent(arguments); var cardPanel = this.down("#cardPanel"); var users = this.down("commentsusers"); var targets = this.down("commentstargets"); var users = this.down("commentsUsers"); var targets = this.down("commentsTargets"); this.down("commentsHeaderMenu").on("select", function(item) { if (item === "users") { targets.deselectAll(); Loading
template/app/view/comments/List.js +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ */ Ext.define('Docs.view.comments.List', { extend: 'Ext.panel.Panel', alias: "widget.commentslist", alias: "widget.commentsList", requires: ['Docs.Settings'], componentCls: 'comment-index-container', Loading
template/app/view/comments/Targets.js +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ * View for showing topics (classes, members, guides, ...). */ Ext.define('Docs.view.comments.Targets', { alias: "widget.commentstargets", alias: "widget.commentsTargets", extend: 'Ext.panel.Panel', componentCls: "comments-targets", requires: ["Docs.Comments"], Loading
template/app/view/comments/Users.js +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ * Either sorted by upvotes or comment count. */ Ext.define('Docs.view.comments.Users', { alias: "widget.commentsusers", alias: "widget.commentsUsers", extend: 'Ext.panel.Panel', componentCls: "comments-users", requires: ["Docs.Comments"], Loading