diff app/store/Proben.js @ 24:72778ac34dbb

Do not autoload the data from the server. Only load an request.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 07 May 2013 17:20:11 +0200
parents 764a0aef0f56
children f964a50bfe57
line wrap: on
line diff
--- a/app/store/Proben.js	Tue May 07 17:19:28 2013 +0200
+++ b/app/store/Proben.js	Tue May 07 17:20:11 2013 +0200
@@ -1,13 +1,10 @@
 Ext.define('Lada.store.Proben', {
     extend: 'Ext.data.Store',
     model: 'Lada.model.Probe',
-    autoLoad: true,
     proxy: {
         type: 'ajax',
         api: {
-            read: 'server/rest/proben',
-            //read: 'data/proben.json',
-            update: 'data/proben2.json'
+            read: 'server/rest/proben'
         },
         reader: {
             type: 'json',
@@ -15,4 +12,3 @@
         }
     }
 });
-

http://lada.wald.intevation.org