You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2015/06/10 19:41:14 UTC

[2/2] ambari git commit: AMBARI-11842. Add Service wizard: Password configs missing (alexantonenko)

AMBARI-11842. Add Service wizard: Password configs missing (alexantonenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/5c1ffbd2
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/5c1ffbd2
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/5c1ffbd2

Branch: refs/heads/branch-2.1
Commit: 5c1ffbd25ad15a2fcb3cfc7cb4787d938de80126
Parents: 4fb176c
Author: Alex Antonenko <hi...@gmail.com>
Authored: Wed Jun 10 19:24:40 2015 +0300
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Wed Jun 10 20:41:09 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/controllers/wizard/step7_controller.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/5c1ffbd2/ambari-web/app/controllers/wizard/step7_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step7_controller.js b/ambari-web/app/controllers/wizard/step7_controller.js
index fdc11c7..d20cee5 100644
--- a/ambari-web/app/controllers/wizard/step7_controller.js
+++ b/ambari-web/app/controllers/wizard/step7_controller.js
@@ -930,7 +930,7 @@ App.WizardStep7Controller = Em.Controller.extend(App.ServerValidatorMixin, App.E
       var mappedConfigValue = type && configsMap[type] ? configsMap[type][_config.name] : null;
       if (!Em.isNone(mappedConfigValue) && ((installedServiceNames && installedServiceNames.contains(_config.serviceName) || nonServiceTab.someProperty('serviceName', _config.serviceName)))) {
         // prevent overriding already edited properties
-        if (_config.savedValue != mappedConfigValue) {
+        if (_config.savedValue != mappedConfigValue || _config.displayType == 'password') {
           _config.value = mappedConfigValue;
         }
         _config.savedValue = mappedConfigValue;