Mercurial > lada > lada-client
annotate app/model/StatusWerte.js @ 1343:cd16b30dbc10
correct behaviour of 'reverting changes' in ortszuordnung
author | Maximilian Krambach <mkrambach@intevation.de> |
---|---|
date | Mon, 06 Feb 2017 11:29:07 +0100 |
parents | f73ca04d73a7 |
children |
rev | line source |
---|---|
946 | 1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz |
2 * Software engineering by Intevation GmbH | |
3 * | |
4 * This file is Free Software under the GNU GPL (v>=3) | |
5 * and comes with ABSOLUTELY NO WARRANTY! Check out | |
6 * the documentation coming with IMIS-Labordaten-Application for details. | |
7 */ | |
8 | |
9 /** | |
10 * Model class for StatusWerte | |
11 */ | |
12 Ext.define('Lada.model.StatusWerte', { | |
13 extend: 'Ext.data.Model', | |
14 | |
15 fields: [{ | |
16 name: 'id' | |
17 }, { | |
956
45c67a784b31
Added StatusStufe to the StatusGrid. Created Store and Model for StatusStufe
Dustin Demuth <dustin@intevation.de>
parents:
946
diff
changeset
|
18 name: 'wert', |
45c67a784b31
Added StatusStufe to the StatusGrid. Created Store and Model for StatusStufe
Dustin Demuth <dustin@intevation.de>
parents:
946
diff
changeset
|
19 type: 'string' |
946 | 20 }], |
21 | |
22 idProperty: 'id', | |
23 | |
24 proxy: { | |
25 type: 'rest', | |
999 | 26 url: 'lada-server/rest/statuswert', |
946 | 27 reader: { |
28 type: 'json', | |
29 root: 'data' | |
30 } | |
31 } | |
32 | |
33 }); |