Browse Source

AMBARI-3807 Cannot save config-group due to missing service id. (atkach)

atkach 12 years ago
parent
commit
f6c4620ce9
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

@@ -1120,7 +1120,7 @@ App.config = Em.Object.create({
     sendData.sender = sendData;
     App.ajax.send(sendData);
     if (newConfigGroupData) {
-      newConfigGroupData.set('service', App.Service.find().filterProperty('serviceName', serviceId));
+      newConfigGroupData.set('service', App.Service.find().findProperty('serviceName', serviceId));
       newConfigGroupData.set('name', configGroupName);
       newConfigGroupData.set('description', description);
     }