Mercurial > lada > lada-client
diff app/store/Uwb.js @ 33:a35119566841
Fetch UWB dynamically.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 22 May 2013 14:22:46 +0200 |
parents | |
children | ab067fdb91b5 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/store/Uwb.js Wed May 22 14:22:46 2013 +0200 @@ -0,0 +1,13 @@ +Ext.define('Lada.store.Uwb', { + extend: 'Ext.data.Store', + fields: ['umwId'], + proxy: { + type: 'ajax', + api: { + read: 'server/rest/uwb' + }, + reader: { + type: 'json' + } + } +});