changeset 20:764a0aef0f56

Remove Field configuration. Field are configured in the model.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 07 May 2013 16:27:40 +0200
parents a05625ae08b1
children 4caf4c8c694a
files app/store/Proben.js
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/app/store/Proben.js	Tue May 07 12:50:50 2013 +0200
+++ b/app/store/Proben.js	Tue May 07 16:27:40 2013 +0200
@@ -1,17 +1,17 @@
 Ext.define('Lada.store.Proben', {
     extend: 'Ext.data.Store',
-    fields: ['probeId', 'datenbasisId'],
     model: 'Lada.model.Probe',
     autoLoad: true,
     proxy: {
         type: 'ajax',
         api: {
-            read: 'data/proben.json',
+            read: 'server/rest/proben',
+            //read: 'data/proben.json',
             update: 'data/proben2.json'
         },
         reader: {
             type: 'json',
-            root: 'proben'
+            contentType: "application/json; charset=utf-8;"
         }
     }
 });

http://lada.wald.intevation.org