ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yus...@apache.org
Subject ambari git commit: AMBARI-12340. Hosts page is showing up empty (keeps spinning). (yusaku)
Date Wed, 08 Jul 2015 21:19:50 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk cd782f9d8 -> eb323fa80


AMBARI-12340. Hosts page is showing up empty (keeps spinning). (yusaku)


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

Branch: refs/heads/trunk
Commit: eb323fa80c509cda8d27dd7ea098084aa3b480d4
Parents: cd782f9
Author: Yusaku Sako <yusaku@hortonworks.com>
Authored: Wed Jul 8 13:26:22 2015 -0700
Committer: Yusaku Sako <yusaku@hortonworks.com>
Committed: Wed Jul 8 14:19:35 2015 -0700

----------------------------------------------------------------------
 ambari-web/app/controllers/main/host.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/eb323fa8/ambari-web/app/controllers/main/host.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/host.js b/ambari-web/app/controllers/main/host.js
index 81711ef..a798f0b 100644
--- a/ambari-web/app/controllers/main/host.js
+++ b/ambari-web/app/controllers/main/host.js
@@ -61,7 +61,10 @@ App.MainHostController = Em.ArrayController.extend(App.TableServerMixin,
{
   }.observes('dataSource.@each.isRequested'),
 
   setContentOnce: function() {
-    this.set('content', this.get('dataSource').filterProperty('isRequested'));
+    var self = this;
+    Em.run.next(function() {
+      self.set('content', self.get('dataSource').filterProperty('isRequested'));
+    });
   },
 
   allHostStackVersions: App.HostStackVersion.find(),


Mime
View raw message