You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2014/01/02 18:35:53 UTC
git commit: AMBARI-4211 Empty content of review step in Add Host
wizard. (atkach)
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 <at...@hortonworks.com>
Authored: Thu Jan 2 19:35:49 2014 +0200
Committer: atkach <at...@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);