You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2014/09/25 18:24:00 UTC

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

Repository: ambari
Updated Branches:
  refs/heads/trunk 0e1ebc25d -> 050267371


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/trunk
Commit: 0502673717c8654a36d18fda8e6b1ed657048c35
Parents: 0e1ebc2
Author: aBabiichuk <ab...@cybervisiontech.com>
Authored: Thu Sep 25 19:20:59 2014 +0300
Committer: aBabiichuk <ab...@cybervisiontech.com>
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