Mercurial > lada > lada-client
view app/store/Verwaltungseinheiten.js @ 402:60a2812568cb
Fixed converting dates from timestamp to date object to allow empty(NULL) values.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Fri, 06 Sep 2013 12:53:19 +0200 |
parents | 39297b8e5ba2 |
children | 65688621c727 |
line wrap: on
line source
/** * Store for Verwaltungseinheiten */ Ext.define('Lada.store.Verwaltungseinheiten', { extend: 'Ext.data.Store', fields: ['gemId', 'bezeichnung'], sorters: [{ property: 'bezeichnung', }], autoLoad: true, proxy: { type: 'ajax', api: { read: 'server/rest/verwaltungseinheit' }, reader: { type: 'json', root: 'data' } } });