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/04 14:14:24 UTC
[ambari] branch trunk updated: AMBARI-24242 data-qa attribute
present not for all properties
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 41469ac AMBARI-24242 data-qa attribute present not for all properties
41469ac is described below
commit 41469ac2a8f5ee43ec1b849e17714fcfd76ce26d
Author: Andrii Tkach <at...@apache.org>
AuthorDate: Wed Jul 4 14:10:43 2018 +0300
AMBARI-24242 data-qa attribute present not for all properties
---
.../configs/widgets/service_config_password_field.hbs | 16 ++++++++++++++--
ambari-web/app/views/common/controls_view.js | 2 +-
2 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/ambari-web/app/templates/common/configs/widgets/service_config_password_field.hbs b/ambari-web/app/templates/common/configs/widgets/service_config_password_field.hbs
index 0ce63a7..699e6ef 100644
--- a/ambari-web/app/templates/common/configs/widgets/service_config_password_field.hbs
+++ b/ambari-web/app/templates/common/configs/widgets/service_config_password_field.hbs
@@ -18,9 +18,21 @@
<div class="row">
<div class="col-md-6">
- {{view Em.TextField class="form-control" readOnlyBinding="view.readOnly" valueBinding="view.serviceConfig.value" type="password" placeholderBinding="view.placeholder"}}
+ {{view Em.TextField
+ data-qaBinding="view.data-qa"
+ class="form-control"
+ readOnlyBinding="view.readOnly"
+ valueBinding="view.serviceConfig.value"
+ type="password"
+ placeholderBinding="view.placeholder"}}
</div>
<div class="col-md-6">
- {{view Em.TextField class="form-control retyped-password" readOnlyBinding="view.readOnly" valueBinding="view.serviceConfig.retypedPassword" type="password" placeholderBinding="view.placeholderRetype"}}
+ {{view Em.TextField
+ data-qaBinding="view.data-qa"
+ class="form-control retyped-password"
+ readOnlyBinding="view.readOnly"
+ valueBinding="view.serviceConfig.retypedPassword"
+ type="password"
+ placeholderBinding="view.placeholderRetype"}}
</div>
</div>
\ No newline at end of file
diff --git a/ambari-web/app/views/common/controls_view.js b/ambari-web/app/views/common/controls_view.js
index 869cac7..50b4d63 100644
--- a/ambari-web/app/views/common/controls_view.js
+++ b/ambari-web/app/views/common/controls_view.js
@@ -300,7 +300,7 @@ App.ServiceConfigTextFieldWithUnit = Ember.View.extend(App.ServiceConfigPopoverS
* Password control
* @type {*}
*/
-App.ServiceConfigPasswordField = Ember.View.extend(App.ServiceConfigPopoverSupport, {
+App.ServiceConfigPasswordField = Ember.View.extend(App.ServiceConfigPopoverSupport, App.ServiceConfigCalculateId, {
serviceConfig: null,