ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From onechipore...@apache.org
Subject git commit: AMBARI-6251. Even after saving configs, the UI asks to save or discard unsaved changes (2K-node cluster). (onechiporenko)
Date Tue, 24 Jun 2014 09:14:10 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-1.6.1 6f01ddc29 -> f759dfe06


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/f759dfe0
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/f759dfe0
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/f759dfe0

Branch: refs/heads/branch-1.6.1
Commit: f759dfe0659c793aee7ec39bc4c788d4f88dabf3
Parents: 6f01ddc
Author: Oleg Nechiporenko <onechiporenko@apache.org>
Authored: Tue Jun 24 12:13:51 2014 +0300
Committer: Oleg Nechiporenko <onechiporenko@apache.org>
Committed: Tue Jun 24 12:13:51 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/f759dfe0/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) {


Mime
View raw message