Mercurial > lada > lada-client
diff app/store/Netzbetreiber.js @ 91:95b08b96f5c9
Added new widget for the netzbetreiber.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 11 Jun 2013 15:04:18 +0200 |
parents | |
children | ab067fdb91b5 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/store/Netzbetreiber.js Tue Jun 11 15:04:18 2013 +0200 @@ -0,0 +1,14 @@ +Ext.define('Lada.store.Netzbetreiber', { + extend: 'Ext.data.Store', + fields: ['netzbetreiberId', 'netzbetreiber'], + proxy: { + type: 'ajax', + api: { + read: 'server/rest/netzbetreiber' + }, + reader: { + type: 'json' + } + } +}); +