diff app/store/Proben.js @ 50:2fbd53b944fc

Move proxy definition into the model. Else the building of the URL does not work correct.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 27 May 2013 14:58:31 +0200
parents 2a67e062519b
children 39297b8e5ba2
line wrap: on
line diff
--- a/app/store/Proben.js	Mon May 27 10:14:29 2013 +0200
+++ b/app/store/Proben.js	Mon May 27 14:58:31 2013 +0200
@@ -1,13 +1,4 @@
 Ext.define('Lada.store.Proben', {
     extend: 'Ext.data.Store',
-    model: 'Lada.model.Probe',
-    proxy: {
-        type: 'ajax',
-        url: 'server/rest/proben',
-        api: {
-        },
-        reader: {
-            type: 'json'
-        }
-    }
+    model: 'Lada.model.Probe'
 });

http://lada.wald.intevation.org