You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2018/07/03 12:32:19 UTC
[ambari] branch trunk updated: AMBARI-24236 Ambari UI "NEXT" button
is disabled for add service step of Spectrum Scale
This is an automated email from the ASF dual-hosted git repository.
atkach pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new ad8e812 AMBARI-24236 Ambari UI "NEXT" button is disabled for add service step of Spectrum Scale
ad8e812 is described below
commit ad8e8128f9c8fe5d5b5ff7f892444443331afac0
Author: Andrii Tkach <at...@apache.org>
AuthorDate: Mon Jul 2 21:36:25 2018 +0300
AMBARI-24236 Ambari UI "NEXT" button is disabled for add service step of Spectrum Scale
---
ambari-web/app/mixins/wizard/assign_master_components.js | 6 +++---
1 file 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 2ac2a59..25bf86c 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() {