Loading template/app/view/Comments.js +11 −5 Original line number Diff line number Diff line Loading @@ -129,11 +129,17 @@ Ext.define('Docs.view.Comments', { return '<a href="' + urlPrefix + url + '">' + title + '</a>'; }, recentCommentsPager: Ext.Function.bind(function(values) { var last = values[values.length - 1]; if (last && last.total_rows) { return [ '<div class="recent-comments-pager">', this.getPagerHtml(values[values.length - 1] || {}), this.getPagerHtml(last), '</div>' ].join(''); } else { return ''; } }, this) }; Loading Loading
template/app/view/Comments.js +11 −5 Original line number Diff line number Diff line Loading @@ -129,11 +129,17 @@ Ext.define('Docs.view.Comments', { return '<a href="' + urlPrefix + url + '">' + title + '</a>'; }, recentCommentsPager: Ext.Function.bind(function(values) { var last = values[values.length - 1]; if (last && last.total_rows) { return [ '<div class="recent-comments-pager">', this.getPagerHtml(values[values.length - 1] || {}), this.getPagerHtml(last), '</div>' ].join(''); } else { return ''; } }, this) }; Loading