ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atk...@apache.org
Subject git commit: AMBARI-4367 Alerts block shows spinner if Nagios not installed. (atkach)
Date Tue, 21 Jan 2014 12:36:01 GMT
Updated Branches:
  refs/heads/trunk fcfbf01aa -> 5c9311e3c


AMBARI-4367 Alerts block shows spinner if Nagios not installed. (atkach)


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

Branch: refs/heads/trunk
Commit: 5c9311e3c7b7353eb517c282a34ea897eca2263b
Parents: fcfbf01
Author: atkach <atkach@hortonworks.com>
Authored: Tue Jan 21 14:35:56 2014 +0200
Committer: atkach <atkach@hortonworks.com>
Committed: Tue Jan 21 14:35:56 2014 +0200

----------------------------------------------------------------------
 ambari-web/app/controllers/main/alerts_controller.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/5c9311e3/ambari-web/app/controllers/main/alerts_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/alerts_controller.js b/ambari-web/app/controllers/main/alerts_controller.js
index bca7660..8f8f632 100644
--- a/ambari-web/app/controllers/main/alerts_controller.js
+++ b/ambari-web/app/controllers/main/alerts_controller.js
@@ -68,6 +68,8 @@ App.MainAlertsController = Em.Controller.extend({
       } else {
         console.warn("GET Alerts error: unknown resourceType");
       }
+    } else {
+      this.set('isLoaded', true);
     }
   },
 


Mime
View raw message