ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject ambari git commit: AMBARI-12167. Progress bar remains blue on deploy finish (alexantonenko)
Date Fri, 26 Jun 2015 14:23:05 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 8fb1fb989 -> de3f40d2e


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/de3f40d2
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/de3f40d2
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/de3f40d2

Branch: refs/heads/branch-2.1
Commit: de3f40d2e90fa8156972e584c7e4c0ae0f77b6f8
Parents: 8fb1fb9
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Fri Jun 26 16:31:52 2015 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Fri Jun 26 17:22:56 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/de3f40d2/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);


Mime
View raw message