annotate app/store/Datenbasis.js @ 97:9a549ca6e664

Only getTimte from datefield if the value is not null.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 14 Jun 2013 15:53:21 +0200
parents ab067fdb91b5
children
rev   line source
41
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
1 Ext.define('Lada.store.Datenbasis', {
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
2 extend: 'Ext.data.Store',
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
3 fields: ['datenbasisId', 'beschreibung', 'datenbasis'],
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
4 proxy: {
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
5 type: 'ajax',
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
6 api: {
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
7 read: 'server/rest/datenbasis'
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
8 },
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
9 reader: {
93
ab067fdb91b5 Set root of the data element to "data". This was needed as the Response of the
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 41
diff changeset
10 type: 'json',
ab067fdb91b5 Set root of the data element to "data". This was needed as the Response of the
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 41
diff changeset
11 root: 'data'
41
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
12 }
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
13 }
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
14 });
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
15

http://lada.wald.intevation.org