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 e6460b1 AMBARI-24178 Database tab disabled if Setup Database and
Database User
e6460b1 is described below
commit e6460b106f3688a8598087eaacee5489bb36703f
Author: Andrii Tkach <[email protected]>
AuthorDate: Mon Jun 25 17:07:16 2018 +0300
AMBARI-24178 Database tab disabled if Setup Database and Database User
---
ambari-web/app/views/wizard/step7/databases_tab_view.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ambari-web/app/views/wizard/step7/databases_tab_view.js
b/ambari-web/app/views/wizard/step7/databases_tab_view.js
index 1fa4bf7..a3186ef 100644
--- a/ambari-web/app/views/wizard/step7/databases_tab_view.js
+++ b/ambari-web/app/views/wizard/step7/databases_tab_view.js
@@ -95,7 +95,7 @@ App.DatabasesTabOnStep7View = Em.View.extend({
},
updateNextDisabled: function () {
- this.set('controller.databasesTabNextEnabled',
!this.get('properties').someProperty('error'));
- }.observes('[email protected]')
+ this.set('controller.databasesTabNextEnabled',
!this.get('properties').filterProperty('isActive').someProperty('error'));
+ }.observes('[email protected]', '[email protected]')
});