Repository: ambari Updated Branches: refs/heads/trunk 718567fc4 -> 12798c2c3
AMBARI-5250. Jobs page. Invalid number of displayed jobs (alexantonenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/12798c2c Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/12798c2c Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/12798c2c Branch: refs/heads/trunk Commit: 12798c2c3580060e72bec4c47a6d030cbfc979cd Parents: 718567f Author: Alex Antonenko <hiv...@gmail.com> Authored: Thu Mar 27 19:07:19 2014 +0200 Committer: Alex Antonenko <hiv...@gmail.com> Committed: Thu Mar 27 19:07:19 2014 +0200 ---------------------------------------------------------------------- ambari-web/app/views/main/jobs_view.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/12798c2c/ambari-web/app/views/main/jobs_view.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/views/main/jobs_view.js b/ambari-web/app/views/main/jobs_view.js index 25fbe6b..bd79f77 100644 --- a/ambari-web/app/views/main/jobs_view.js +++ b/ambari-web/app/views/main/jobs_view.js @@ -161,8 +161,8 @@ App.MainJobsView = App.TableView.extend({ * @returns {String} */ filteredJobs: function () { - return Em.I18n.t('jobs.filtered.jobs').format(this.get('content').get('length'), this.get('controller.totalOfJobs')); - }.property('content.length', 'filteredContent.length', 'controller.totalOfJobs'), + return Em.I18n.t('jobs.filtered.jobs').format(this.get('controller.content.length'), this.get('controller.totalOfJobs')); + }.property('controller.content.length', 'controller.totalOfJobs'), pageContentObserver: function () { if (!$.browser.mozilla) {