ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akovale...@apache.org
Subject git commit: AMBARI-4920. Mirroring: spinners keep spinning. (akovalenko)
Date Tue, 04 Mar 2014 11:52:02 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 0a6b6df9a -> 660bf2c53


AMBARI-4920. Mirroring: spinners keep spinning. (akovalenko)


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

Branch: refs/heads/trunk
Commit: 660bf2c53dc439be613a758f853028ab8cb0e244
Parents: 0a6b6df
Author: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Authored: Mon Mar 3 18:55:48 2014 +0200
Committer: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Committed: Tue Mar 4 13:50:35 2014 +0200

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/660bf2c5/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 dd784a0..4570b27 100644
--- a/ambari-web/app/views/main/mirroring/datasets_view.js
+++ b/ambari-web/app/views/main/mirroring/datasets_view.js
@@ -25,20 +25,12 @@ App.MainDatasetsView = App.TableView.extend({
   templateName: require('templates/main/mirroring/datasets'),
   content: function () {
     return this.get('controller.datasets');
-  }.property('controller.datasets'),
+  }.property('controller.datasets.length'),
 
   didInsertElement: function () {
-    this.set('filteredContent', this.get('controller.datasets'));
+    this.filter();
   },
 
-  jobs: function () {
-    return App.DataSetJob.find().slice(0, 2);
-  }.property(),
-
-  targetClusters: function () {
-    return this.get('controller.targetClusters');
-  }.property('controller.targetClusters'),
-
   sortView: sort.wrapperView,
   nameSort: sort.fieldView.extend({
     column: '1',


Mime
View raw message