summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrii Tkach <atkach@apache.org>2018-07-03 14:14:16 +0300
committerAndrii Tkach <1963907+atkach@users.noreply.github.com>2018-07-03 15:32:32 +0300
commit177450b7449bcc95c5feb42850c8fc0c39fe491d (patch)
treee040c8a56baa190c492231f934e9900c67ea2f6b
parente97f6dfe3ea44eeed40cab682880b9e63f090f6e (diff)
AMBARI-24236 Ambari UI "NEXT" button is disabled for add service step of Spectrum Scale
-rw-r--r--ambari-web/app/mixins/wizard/assign_master_components.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ambari-web/app/mixins/wizard/assign_master_components.js b/ambari-web/app/mixins/wizard/assign_master_components.js
index 2ac2a597d3..25bf86c38b 100644
--- a/ambari-web/app/mixins/wizard/assign_master_components.js
+++ b/ambari-web/app/mixins/wizard/assign_master_components.js
@@ -1185,11 +1185,11 @@ App.AssignMasterComponents = Em.Mixin.create(App.HostComponentValidationMixin, A
this.getRecommendedHosts({
hosts: hostNames,
components: this.getCurrentComponentHostMap()
- }).then(function() {
+ }).done(function() {
self.validateSelectedHostComponents({
hosts: hostNames,
blueprint: self.get('recommendations')
- }).then(function() {
+ }).always(function() {
if (callback) {
callback();
}
@@ -1199,7 +1199,7 @@ App.AssignMasterComponents = Em.Mixin.create(App.HostComponentValidationMixin, A
self.recommendAndValidate(callback);
}
});
- }, true);
+ });
},
getCurrentComponentHostMap: function() {