Mercurial > lada > lada-client
diff app/store/Messeinheit.js @ 112:882566d0b8f3
Added widgets for messeinheiten und zusatzwerte.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 19 Jun 2013 15:55:34 +0200 |
parents | |
children | 1fb79e16149f |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/store/Messeinheit.js Wed Jun 19 15:55:34 2013 +0200 @@ -0,0 +1,14 @@ +Ext.define('Lada.store.Messeinheit', { + extend: 'Ext.data.Store', + fields: ['mehId', 'einheit'], + proxy: { + type: 'ajax', + api: { + read: 'server/rest/messeinheit' + }, + reader: { + type: 'json', + root: 'data' + } + } +});