diff app/model/Messgroesse.js @ 766:31eaed998531

enabled removal and creation of messgroessen for a messmethode
author Dustin Demuth <dustin@intevation.de>
date Tue, 12 May 2015 14:24:41 +0200
parents d47ee7439f44
children
line wrap: on
line diff
--- a/app/model/Messgroesse.js	Fri May 08 16:12:01 2015 +0200
+++ b/app/model/Messgroesse.js	Tue May 12 14:24:41 2015 +0200
@@ -40,14 +40,7 @@
         name: 'kennungBvl'
     }],
 
-    idProperty: 'id',
-
-    proxy: {
-        type: 'rest',
-        url: 'lada-server/messgroesse',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
+    idProperty: 'id'
+    // other models contain the proxy-configuration at this point.
+    // we don't. You can find the Proxy in in the Store: Lada.store.Messgroessen
 });

http://lada.wald.intevation.org