You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2014/01/09 17:41:31 UTC

git commit: AMBARI-4250. Mirroring: mirroring page outputs "No datasets to display", at the same time datasets exists (alexantonenko)

Updated Branches:
  refs/heads/trunk 58210ab89 -> 4e53fa2a3


AMBARI-4250. Mirroring: mirroring page outputs "No datasets to display", at the same time datasets exists (alexantonenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/4e53fa2a
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/4e53fa2a
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/4e53fa2a

Branch: refs/heads/trunk
Commit: 4e53fa2a35cd1a7b4ed115378a207fa298208954
Parents: 58210ab
Author: Alex Antonenko <hi...@gmail.com>
Authored: Thu Jan 9 18:37:33 2014 +0200
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Thu Jan 9 18:37:33 2014 +0200

----------------------------------------------------------------------
 ambari-web/app/views/main/mirroring/datasets_view.js | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/4e53fa2a/ambari-web/app/views/main/mirroring/datasets_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/mirroring/datasets_view.js b/ambari-web/app/views/main/mirroring/datasets_view.js
index 02165c7..52edcaa 100644
--- a/ambari-web/app/views/main/mirroring/datasets_view.js
+++ b/ambari-web/app/views/main/mirroring/datasets_view.js
@@ -27,6 +27,10 @@ App.MainDatasetsView = App.TableView.extend({
     return this.get('controller.datasets');
   }.property('controller.datasets'),
 
+  didInsertElement: function () {
+    this.set('filteredContent', this.get('controller.datasets'));
+  },
+
   jobs: function () {
     return App.DataSetJob.find().slice(0, 2);
   }.property(),