Browse Source

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

atkach 11 years ago
parent
commit
8b90b39bf2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ambari-web/app/utils/config.js

+ 1 - 1
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;