Mercurial > lada > lada-client
diff app/store/StammdatenQueries.js @ 981:2c394e72ba41 stammdatengrids
Use the lada-server for stammdatenqueries.
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Fri, 04 Dec 2015 15:29:04 +0100 |
parents | fb99332bb48e |
children | f73ca04d73a7 |
line wrap: on
line diff
--- a/app/store/StammdatenQueries.js Thu Dec 03 10:34:42 2015 +0100 +++ b/app/store/StammdatenQueries.js Fri Dec 04 15:29:04 2015 +0100 @@ -13,13 +13,13 @@ extend: 'Ext.data.Store', model: 'Lada.model.Query', autoLoad: true, - data: { data: [ +/* data: { data: [ {id: '0', name: 'MessprogrammKategorie', type: 'MessprogrammKategorie', sql: 'bogus', description: 'bogusBeschr', filters: []}, {id: '1', name: 'DatensatzErzeuger', type: 'DatensatzErzeuger', sql: 'bogus', description: 'bogusBeschr', filters: []} - ]}, + ]},*/ proxy: { - type: 'memory', - //url: 'lada-server/query/stammdaten', + type: 'rest', + url: 'lada-server/query/stammdaten', reader: { type: 'json', root: 'data'