Mercurial > lada > lada-client
diff app/store/Proben.js @ 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 | 9e1a40312bbe |
children | 72778ac34dbb |
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;" } } });