You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2015/05/19 22:30:27 UTC

[2/4] ambari git commit: AMBARI-11225. HDFS configs page: Save alert appears, when there was no change (alexantonenko)

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 <hi...@gmail.com>
Authored: Tue May 19 19:11:43 2015 +0300
Committer: Alex Antonenko <hi...@gmail.com>
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())
+      });
     });
   },