Quellcode durchsuchen

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

aBabiichuk vor 11 Jahren
Ursprung
Commit
c1a954ced6
1 geänderte Dateien mit 4 neuen und 2 gelöschten Zeilen
  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.set('hosts', []);
     this.get('bootHosts').clear();
     this.get('bootHosts').clear();
     this.get('wizardController').setDBProperty('bootStatus', false);
     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('isSubmitDisabled', true);
     this.set('isRetryDisabled', true);
     this.set('isRetryDisabled', true);
   },
   },
@@ -206,8 +210,6 @@ App.WizardStep3Controller = Em.Controller.extend({
    */
    */
   loadStep: function () {
   loadStep: function () {
     console.log("TRACE: Loading step3: Confirm Hosts");
     console.log("TRACE: Loading step3: Confirm Hosts");
-    this.set('registrationStartedAt', null);
-    this.set('isLoaded', false);
     this.disablePreviousSteps();
     this.disablePreviousSteps();
     this.clearStep();
     this.clearStep();
     App.router.get('clusterController').loadAmbariProperties();
     App.router.get('clusterController').loadAmbariProperties();