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 2015/06/26 16:21:59 UTC

ambari git commit: AMBARI-12167. Progress bar remains blue on deploy finish (alexantonenko)

Repository: ambari
Updated Branches:
  refs/heads/trunk 4221fb9bc -> 95f8a0a06


AMBARI-12167. Progress bar remains blue on deploy finish (alexantonenko)


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

Branch: refs/heads/trunk
Commit: 95f8a0a06cf7252b2ba41c2d89650eb82488ca5d
Parents: 4221fb9
Author: Alex Antonenko <hi...@gmail.com>
Authored: Fri Jun 26 16:31:52 2015 +0300
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Fri Jun 26 17:21:55 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/95f8a0a0/ambari-web/app/controllers/wizard/step9_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step9_controller.js b/ambari-web/app/controllers/wizard/step9_controller.js
index a58e8b8..a6a49f0 100644
--- a/ambari-web/app/controllers/wizard/step9_controller.js
+++ b/ambari-web/app/controllers/wizard/step9_controller.js
@@ -769,7 +769,10 @@ App.WizardStep9Controller = Em.Controller.extend(App.ReloadPopupMixin, {
    */
   setFinishState: function (polledData) {
     if (this.get('content.cluster.status') === 'INSTALLED') {
-      this.changeParseHostInfo(this.isServicesStarted(polledData));
+      var self = this;
+      Em.run.next(function(){
+        self.changeParseHostInfo(this.isServicesStarted(polledData));
+      });
       return;
     } else if (this.get('content.cluster.status') === 'PENDING') {
       this.setIsServicesInstalled(polledData);