ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atk...@apache.org
Subject git commit: AMBARI-4211 Empty content of review step in Add Host wizard. (atkach)
Date Thu, 02 Jan 2014 17:35:53 GMT
Updated Branches:
  refs/heads/trunk b4ad188e1 -> e66947e81


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


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/e66947e8
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/e66947e8
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/e66947e8

Branch: refs/heads/trunk
Commit: e66947e815c599afbee8634eca1a5f0b530ba232
Parents: b4ad188
Author: atkach <atkach@hortonworks.com>
Authored: Thu Jan 2 19:35:49 2014 +0200
Committer: atkach <atkach@hortonworks.com>
Committed: Thu Jan 2 19:35:49 2014 +0200

----------------------------------------------------------------------
 ambari-web/app/controllers/wizard/step8_controller.js | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/e66947e8/ambari-web/app/controllers/wizard/step8_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step8_controller.js b/ambari-web/app/controllers/wizard/step8_controller.js
index ea1b605..58e1e05 100644
--- a/ambari-web/app/controllers/wizard/step8_controller.js
+++ b/ambari-web/app/controllers/wizard/step8_controller.js
@@ -84,9 +84,11 @@ App.WizardStep8Controller = Em.Controller.extend({
       App.router.get('mainAdminSecurityController').setSecurityStatus();
     }
     this.clearStep();
-    this.formatProperties();
-    this.loadGlobals();
-    this.loadConfigs();
+    if (this.get('content.serviceConfigProperties')) {
+      this.formatProperties();
+      this.loadGlobals();
+      this.loadConfigs();
+    }
     this.loadClusterInfo();
     this.loadServices();
     this.set('isSubmitDisabled', false);


Mime
View raw message