浏览代码

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

Alex Antonenko 10 年之前
父节点
当前提交
95f8a0a06c
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      ambari-web/app/controllers/wizard/step9_controller.js

+ 4 - 1
ambari-web/app/controllers/wizard/step9_controller.js

@@ -769,7 +769,10 @@ App.WizardStep9Controller = Em.Controller.extend(App.ReloadPopupMixin, {
    */
    */
   setFinishState: function (polledData) {
   setFinishState: function (polledData) {
     if (this.get('content.cluster.status') === 'INSTALLED') {
     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;
       return;
     } else if (this.get('content.cluster.status') === 'PENDING') {
     } else if (this.get('content.cluster.status') === 'PENDING') {
       this.setIsServicesInstalled(polledData);
       this.setIsServicesInstalled(polledData);