Repository: ambari Updated Branches: refs/heads/trunk 25e6a1bf9 -> f01f86caa
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/f01f86ca Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/f01f86ca Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/f01f86ca Branch: refs/heads/trunk Commit: f01f86caa23262c642b716dc26c6fc7a9a74b7d8 Parents: 25e6a1b Author: ababiichuk <[email protected]> Authored: Wed Jul 27 16:43:49 2016 +0300 Committer: ababiichuk <[email protected]> Committed: Wed Jul 27 16:43:49 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/f01f86ca/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 d2e3ef1..2a95be7 100644 --- a/ambari-web/app/models/configs/objects/service_config_property.js +++ b/ambari-web/app/models/configs/objects/service_config_property.js @@ -290,6 +290,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); }
