浏览代码

AMBARI-6386 Installer Step3 Hosts Warnings loading issue. (ababiichuk)

aBabiichuk 11 年之前
父节点
当前提交
c1a954ced6
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      ambari-web/app/controllers/wizard/step3_controller.js

+ 4 - 2
ambari-web/app/controllers/wizard/step3_controller.js

@@ -196,6 +196,10 @@ App.WizardStep3Controller = Em.Controller.extend({
     this.set('hosts', []);
     this.get('bootHosts').clear();
     this.get('wizardController').setDBProperty('bootStatus', false);
+    this.set('isHostsWarningsLoaded', false);
+    this.set('isJDKWarningsLoaded', false);
+    this.set('registrationStartedAt', null);
+    this.set('isLoaded', false);
     this.set('isSubmitDisabled', true);
     this.set('isRetryDisabled', true);
   },
@@ -206,8 +210,6 @@ App.WizardStep3Controller = Em.Controller.extend({
    */
   loadStep: function () {
     console.log("TRACE: Loading step3: Confirm Hosts");
-    this.set('registrationStartedAt', null);
-    this.set('isLoaded', false);
     this.disablePreviousSteps();
     this.clearStep();
     App.router.get('clusterController').loadAmbariProperties();