Browse Source

AMBARI-4211 Empty content of review step in Add Host wizard. (atkach)

atkach 11 years ago
parent
commit
e66947e815
1 changed files with 5 additions and 3 deletions
  1. 5 3
      ambari-web/app/controllers/wizard/step8_controller.js

+ 5 - 3
ambari-web/app/controllers/wizard/step8_controller.js

@@ -84,9 +84,11 @@ App.WizardStep8Controller = Em.Controller.extend({
       App.router.get('mainAdminSecurityController').setSecurityStatus();
       App.router.get('mainAdminSecurityController').setSecurityStatus();
     }
     }
     this.clearStep();
     this.clearStep();
-    this.formatProperties();
-    this.loadGlobals();
-    this.loadConfigs();
+    if (this.get('content.serviceConfigProperties')) {
+      this.formatProperties();
+      this.loadGlobals();
+      this.loadConfigs();
+    }
     this.loadClusterInfo();
     this.loadClusterInfo();
     this.loadServices();
     this.loadServices();
     this.set('isSubmitDisabled', false);
     this.set('isSubmitDisabled', false);