diff app/store/Messgroessen.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 efb1369a8cac
children f73ca04d73a7
line wrap: on
line diff
--- a/app/store/Messgroessen.js	Fri May 08 16:12:01 2015 +0200
+++ b/app/store/Messgroessen.js	Tue May 12 14:24:41 2015 +0200
@@ -22,5 +22,15 @@
             return '';
         }
     }],
-    autoLoad: true
+    autoLoad: true,
+
+    proxy: {
+        type: 'rest',
+        url: 'lada-server/messgroesse',
+        reader: {
+            type: 'json',
+            root: 'data'
+        }
+    }
+
 });

http://lada.wald.intevation.org