Mercurial > lada > lada-client
diff app/store/Verwaltungseinheiten.js @ 153:e9fb4814153a
Added files for Staat, Ort and Verwaltungseinheiten.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 02 Jul 2013 14:08:18 +0200 |
parents | |
children | 70a1b5962930 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/store/Verwaltungseinheiten.js Tue Jul 02 14:08:18 2013 +0200 @@ -0,0 +1,15 @@ +Ext.define('Lada.store.Verwaltungseinheiten', { + extend: 'Ext.data.Store', + fields: ['gemId', 'bezeichnung'], + autoLoad: true, + proxy: { + type: 'ajax', + api: { + read: 'server/rest/verwaltungseinheit' + }, + reader: { + type: 'json', + root: 'data' + } + } +});