You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2015/03/25 17:27:29 UTC
ambari git commit: AMBARI-10203. Add host: Install Options step is
active during registering and check host (alexantonenko)
Repository: ambari
Updated Branches:
refs/heads/trunk 087c555f8 -> 7f191208e
AMBARI-10203. Add host: Install Options step is active during registering and check host (alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/7f191208
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7f191208
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7f191208
Branch: refs/heads/trunk
Commit: 7f191208e7a1117026d30efbc570fa23eaff091e
Parents: 087c555
Author: Alex Antonenko <hi...@gmail.com>
Authored: Wed Mar 25 18:16:57 2015 +0200
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Wed Mar 25 18:27:25 2015 +0200
----------------------------------------------------------------------
ambari-web/app/controllers/wizard/step3_controller.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/7f191208/ambari-web/app/controllers/wizard/step3_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step3_controller.js b/ambari-web/app/controllers/wizard/step3_controller.js
index 59837dc..61cf64f 100644
--- a/ambari-web/app/controllers/wizard/step3_controller.js
+++ b/ambari-web/app/controllers/wizard/step3_controller.js
@@ -466,9 +466,9 @@ App.WizardStep3Controller = Em.Controller.extend({
App.router.get('installerController.isStepDisabled').filter(function (step) {
return step.step >= 0 && step.step <= 2;
}).setEach('value', this.get('isBackDisabled'));
- if (this.get('isBackDisabled')) {
- this.set('isSubmitDisabled', true);
- }
+ App.router.get('addHostController.isStepDisabled').filter(function (step) {
+ return step.step >= 0 && step.step <= 1;
+ }).setEach('value', this.get('isBackDisabled'));
}.observes('isBackDisabled'),
/**