diff app/store/Proben.js @ 18:9e1a40312bbe

Implemented a basic edit dialog. Data will be set to data/proben2.json url which is currently just a dummy file to make to request work. But currently no data is actually saved. The urls need to be replaced with the correct urls in the application backend.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 06 May 2013 16:41:39 +0200
parents c0b2faa47ee5
children 764a0aef0f56
line wrap: on
line diff
--- a/app/store/Proben.js	Tue Apr 30 17:55:48 2013 +0200
+++ b/app/store/Proben.js	Mon May 06 16:41:39 2013 +0200
@@ -5,7 +5,10 @@
     autoLoad: true,
     proxy: {
         type: 'ajax',
-        url: 'data/proben.json',
+        api: {
+            read: 'data/proben.json',
+            update: 'data/proben2.json'
+        },
         reader: {
             type: 'json',
             root: 'proben'

http://lada.wald.intevation.org