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-17920 Multiple recommendation calls are made which overrides user's input on LLAP smart config page.. (ababiichuk)
Date Wed, 27 Jul 2016 13:46:52 GMT
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 <ababiichuk@hortonworks.com>
Authored: Wed Jul 27 16:43:49 2016 +0300
Committer: ababiichuk <ababiichuk@hortonworks.com>
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);
     }


Mime
View raw message