Repository: ambari
Updated Branches:
  refs/heads/trunk 33fd0ca17 -> 45e874d9a


AMBARI-6251. Even after saving configs, the UI asks to save or discard unsaved 
changes (2K-node cluster). (onechiporenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/45e874d9
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/45e874d9
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/45e874d9

Branch: refs/heads/trunk
Commit: 45e874d9a5863e92ebd385d9ce7f030524e0ad2f
Parents: 33fd0ca
Author: Oleg Nechiporenko <onechipore...@apache.org>
Authored: Tue Jun 24 11:59:50 2014 +0300
Committer: Oleg Nechiporenko <onechipore...@apache.org>
Committed: Tue Jun 24 12:25:46 2014 +0300

----------------------------------------------------------------------
 ambari-web/app/controllers/main/service/info/configs.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/45e874d9/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 adc17cf..098e1c6 100644
--- a/ambari-web/app/controllers/main/service/info/configs.js
+++ b/ambari-web/app/controllers/main/service/info/configs.js
@@ -161,7 +161,7 @@ App.MainServiceInfoConfigsController = 
Em.Controller.extend({
 
   getHash: function() {
     if (!this.get('stepConfigs')[0]) {
-      return "";
+      return null;
     }
     var hash = {};
     this.get('stepConfigs')[0].configs.forEach(function(config) {

Reply via email to