AMBARI-11225. HDFS configs page: Save alert appears, when there was no change (alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/3fa6a252 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/3fa6a252 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/3fa6a252 Branch: refs/heads/trunk Commit: 3fa6a25252bc1359bbb40ff4bef2238d56d9103b Parents: cb83080 Author: Alex Antonenko <[email protected]> Authored: Tue May 19 19:11:43 2015 +0300 Committer: Alex Antonenko <[email protected]> Committed: Tue May 19 23:30:19 2015 +0300 ---------------------------------------------------------------------- ambari-web/app/controllers/main/service/info/configs.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/3fa6a252/ambari-web/app/controllers/main/service/info/configs.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/main/service/info/configs.js b/ambari-web/app/controllers/main/service/info/configs.js index a82dc41..a48f40b 100644 --- a/ambari-web/app/controllers/main/service/info/configs.js +++ b/ambari-web/app/controllers/main/service/info/configs.js @@ -831,9 +831,11 @@ App.MainServiceInfoConfigsController = Em.Controller.extend(App.ServerValidatorM self.setProperties({ dataIsLoaded: true, versionLoaded: true, - hash: self.getHash(), isInit: false }); + Em.run.next(function(){ + self.set('hash', self.getHash()) + }); }); },
