You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2014/02/12 13:14:04 UTC

git commit: AMBARI-4626 "Capacity Scheduler" section in Ambari does not allow ACL value of "user group" with spaces. (atkach)

Updated Branches:
  refs/heads/trunk 16fe1f21d -> 8b90b39bf


AMBARI-4626 "Capacity Scheduler" section in Ambari does not allow ACL value of "user group" with spaces. (atkach)


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

Branch: refs/heads/trunk
Commit: 8b90b39bf2645251b9aa27b5b32fcad1947317a1
Parents: 16fe1f2
Author: atkach <at...@hortonworks.com>
Authored: Wed Feb 12 14:14:00 2014 +0200
Committer: atkach <at...@hortonworks.com>
Committed: Wed Feb 12 14:14:00 2014 +0200

----------------------------------------------------------------------
 ambari-web/app/utils/config.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/8b90b39b/ambari-web/app/utils/config.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/config.js b/ambari-web/app/utils/config.js
index c361718..e475ebf 100644
--- a/ambari-web/app/utils/config.js
+++ b/ambari-web/app/utils/config.js
@@ -975,7 +975,7 @@ App.config = Em.Object.create({
     var complexConfigName = this.get('complexConfigs').findProperty('filename', filename).name;
     var configsTextarea = configs.findProperty('name', complexConfigName);
     if (configsTextarea) {
-      var properties = configsTextarea.get('value').replace(/( |\n)+/g, '\n').split('\n');
+      var properties = configsTextarea.get('value').split('\n');
 
       properties.forEach(function (_property) {
         var name, value;