comparison app/model/Status.js @ 220:8e41a5a6cb7f

Fixed variable name
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 15 Jul 2013 17:51:28 +0200
parents 945a727209d3
children d27017394c8f
comparison
equal deleted inserted replaced
219:82f8b5638f26 220:8e41a5a6cb7f
1 Ext.define('Lada.model.Status', { 1 Ext.define('Lada.model.Status', {
2 extend: 'Ext.data.Model', 2 extend: 'Ext.data.Model',
3 fields: [ 3 fields: [
4 {name: "sId"}, 4 {name: "sid"},
5 {name: "messungsId"}, 5 {name: "messungsId"},
6 {name: "probeId"}, 6 {name: "probeId"},
7 {name: "erzeuger"}, 7 {name: "erzeuger"},
8 {name: "status", defaultValue: 1}, 8 {name: "status", defaultValue: 1},
9 {name: "sdatum", type: 'date', convert: ts2date, defaultValue: new Date()}, 9 {name: "sdatum", type: 'date', convert: ts2date, defaultValue: new Date()},
18 type: 'json', 18 type: 'json',
19 root: 'data' 19 root: 'data'
20 } 20 }
21 }, 21 },
22 getEidi: function() { 22 getEidi: function() {
23 var sid = this.get('sId'); 23 var sid = this.get('sid');
24 var messId = this.get('messungsId'); 24 var messId = this.get('messungsId');
25 var probeId = this.get('probeId'); 25 var probeId = this.get('probeId');
26 return "/" + sid + "/" + messId + "/" + probeId; 26 return "/" + sid + "/" + messId + "/" + probeId;
27 } 27 }
28 }); 28 });

http://lada.wald.intevation.org