Repository: ambari Updated Branches: refs/heads/branch-2.4 72da7c5ed -> b30e6b7f1
AMBARI-17920 Multiple recommendation calls are made which overrides user's input on LLAP smart config page.. (ababiichuk) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/b30e6b7f Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b30e6b7f Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b30e6b7f Branch: refs/heads/branch-2.4 Commit: b30e6b7f19f2b3adee9c2f9e9373b4319f734ffb Parents: 72da7c5 Author: ababiichuk <[email protected]> Authored: Wed Jul 27 16:43:49 2016 +0300 Committer: ababiichuk <[email protected]> Committed: Wed Jul 27 16:47:12 2016 +0300 ---------------------------------------------------------------------- ambari-web/app/models/configs/objects/service_config_property.js | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/b30e6b7f/ambari-web/app/models/configs/objects/service_config_property.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/models/configs/objects/service_config_property.js b/ambari-web/app/models/configs/objects/service_config_property.js index e9ed8d7..03052e4 100644 --- a/ambari-web/app/models/configs/objects/service_config_property.js +++ b/ambari-web/app/models/configs/objects/service_config_property.js @@ -282,6 +282,7 @@ App.ServiceConfigProperty = Em.Object.extend({ this.set('value', this.get('recommendedValue')); } } + this.set('previousValue', this.get('value')); if (this.get('value') === null) { this.set('isVisible', false); }
