Browse Source

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

aBabiichuk 11 năm trước cách đây
mục cha
commit
c1a954ced6
1 tập tin đã thay đổi với 4 bổ sung2 xóa
  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();