Rework UI
[clamp.git] / src / main / resources / META-INF / resources / designer / scripts / propertyController.js
index 9b23656..044b21e 100644 (file)
  * 
  */
 
-function saveMsProperties(type, form) {
-        var newMsProperties = cl_props["microServicePolicies"];
+function updateMsProperties(type, form) {
+    var newMsProperties = cl_props["microServicePolicies"];
     for (p in newMsProperties) {
         if (newMsProperties[p]["name"] == type) {
-               newMsProperties[p]["properties"] = form;
+               cl_props["microServicePolicies"][p] = form;
         }
     }
 }