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-13503 Recommendation popup shows incorrect current value. (ababiichuk)
Date Wed, 21 Oct 2015 13:48:10 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 8a015282f -> 176ef8a43


AMBARI-13503 Recommendation popup shows incorrect current value. (ababiichuk)


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

Branch: refs/heads/branch-2.1
Commit: 176ef8a43323e105480ef56bacf9d2fa3f7959e8
Parents: 8a01528
Author: aBabiichuk <ababiichuk@cybervisiontech.com>
Authored: Wed Oct 21 16:45:19 2015 +0300
Committer: aBabiichuk <ababiichuk@cybervisiontech.com>
Committed: Wed Oct 21 16:45:19 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/mixins/common/configs/enhanced_configs.js | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/176ef8a4/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 7976b2f..7e16acc 100644
--- a/ambari-web/app/mixins/common/configs/enhanced_configs.js
+++ b/ambari-web/app/mixins/common/configs/enhanced_configs.js
@@ -462,8 +462,6 @@ App.EnhancedConfigsMixin = Em.Mixin.create({
             initialValue = override ? override.get('savedValue') : cp && cp.get('savedValue');
           }
 
-
-          initialValue = Em.isNone(initialValue) ? value : initialValue;
           var recommendedValue = configObject[key].properties[propertyName];
 
           var isNewProperty = (!notDefaultGroup && Em.isNone(cp)) || (notDefaultGroup
&& group && Em.isNone(override));


Mime
View raw message