Browse Source

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

aBabiichuk 10 years ago
parent
commit
0502673717

+ 2 - 2
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