comparison 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
comparison
equal deleted inserted replaced
49:792c34b3f5a9 50:2fbd53b944fc
1 Ext.define('Lada.store.Proben', { 1 Ext.define('Lada.store.Proben', {
2 extend: 'Ext.data.Store', 2 extend: 'Ext.data.Store',
3 model: 'Lada.model.Probe', 3 model: 'Lada.model.Probe'
4 proxy: {
5 type: 'ajax',
6 url: 'server/rest/proben',
7 api: {
8 },
9 reader: {
10 type: 'json'
11 }
12 }
13 }); 4 });

http://lada.wald.intevation.org