Browse Source

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

Alex Antonenko 10 years ago
parent
commit
ec31c8a9da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ambari-web/app/controllers/wizard/step7_controller.js

+ 1 - 1
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;