ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject [2/2] ambari git commit: AMBARI-11842. Add Service wizard: Password configs missing (alexantonenko)
Date Wed, 10 Jun 2015 17:41:14 GMT
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 <hiveww@gmail.com>
Authored: Wed Jun 10 19:24:40 2015 +0300
Committer: Alex Antonenko <hiveww@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;


Mime
View raw message