浏览代码

AMBARI-10203. Add host: Install Options step is active during registering and check host (alexantonenko)

Alex Antonenko 10 年之前
父节点
当前提交
7f191208e7
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      ambari-web/app/controllers/wizard/step3_controller.js

+ 3 - 3
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'),
 
   /**