瀏覽代碼

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

atkach 12 年之前
父節點
當前提交
f6c4620ce9
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);
     }