You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2014/01/21 13:36:01 UTC

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

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 <at...@hortonworks.com>
Authored: Tue Jan 21 14:35:56 2014 +0200
Committer: atkach <at...@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);
     }
   },