ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ababiic...@apache.org
Subject ambari git commit: AMBARI-11830 Undo-button appears on the installer step 7. (ababiichuk)
Date Wed, 10 Jun 2015 11:11:06 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 c1a1d81c4 -> 3d536e5b8


AMBARI-11830 Undo-button appears on the installer step 7. (ababiichuk)


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

Branch: refs/heads/branch-2.1
Commit: 3d536e5b8025b87768f549635ed916f0a19104d9
Parents: c1a1d81
Author: aBabiichuk <ababiichuk@cybervisiontech.com>
Authored: Wed Jun 10 14:08:09 2015 +0300
Committer: aBabiichuk <ababiichuk@cybervisiontech.com>
Committed: Wed Jun 10 14:11:01 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/mixins/common/configs/enhanced_configs.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/3d536e5b/ambari-web/app/mixins/common/configs/enhanced_configs.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/common/configs/enhanced_configs.js b/ambari-web/app/mixins/common/configs/enhanced_configs.js
index 17c0872..cf8e60d 100644
--- a/ambari-web/app/mixins/common/configs/enhanced_configs.js
+++ b/ambari-web/app/mixins/common/configs/enhanced_configs.js
@@ -478,7 +478,9 @@ App.EnhancedConfigsMixin = Em.Mixin.create({
               }
             } else {
               cp.set('value', initialValue);
-              cp.set('savedValue', initialValue);
+              if (!this.useInitialValue(serviceName)) {
+                cp.set('savedValue', initialValue);
+              }
               if (dependentProperty) {
                 this.get('_dependentConfigValues').removeObject(dependentProperty);
               }


Mime
View raw message