ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject ambari git commit: AMBARI-10203. Add host: Install Options step is active during registering and check host (alexantonenko)
Date Wed, 25 Mar 2015 16:27:29 GMT
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 <hiveww@gmail.com>
Authored: Wed Mar 25 18:16:57 2015 +0200
Committer: Alex Antonenko <hiveww@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'),
 
   /**


Mime
View raw message