AMBARI-7493 Next button is enabled during creating slider app is no any 
available application is selected. (ababiichuk)


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

Branch: refs/heads/branch-alerts-dev
Commit: 0502673717c8654a36d18fda8e6b1ed657048c35
Parents: 0e1ebc2
Author: aBabiichuk <[email protected]>
Authored: Thu Sep 25 19:20:59 2014 +0300
Committer: aBabiichuk <[email protected]>
Committed: Thu Sep 25 19:20:59 2014 +0300

----------------------------------------------------------------------
 .../ui/app/controllers/createAppWizard/step1_controller.js       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/05026737/contrib/views/slider/src/main/resources/ui/app/controllers/createAppWizard/step1_controller.js
----------------------------------------------------------------------
diff --git 
a/contrib/views/slider/src/main/resources/ui/app/controllers/createAppWizard/step1_controller.js
 
b/contrib/views/slider/src/main/resources/ui/app/controllers/createAppWizard/step1_controller.js
index 457817d..3829503 100644
--- 
a/contrib/views/slider/src/main/resources/ui/app/controllers/createAppWizard/step1_controller.js
+++ 
b/contrib/views/slider/src/main/resources/ui/app/controllers/createAppWizard/step1_controller.js
@@ -81,8 +81,8 @@ App.CreateAppWizardStep1Controller = Ember.Controller.extend({
    * @type {bool}
    */
   isSubmitDisabled: function () {
-    return !this.get('newAppName') || this.get('isNameError');
-  }.property('newAppName', 'isNameError'),
+    return !this.get('newAppName') || this.get('isNameError') || 
this.get('isAppTypesError');
+  }.property('newAppName', 'isNameError', 'isAppTypesError'),
 
   /**
    * Load all required data for step

Reply via email to