Mercurial > lada > lada-client
comparison app/model/Ort.js @ 217:4db982514a5f
Fixed issue21
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Mon, 15 Jul 2013 16:30:52 +0200 |
parents | 16ba7e2465fd |
children | eb483558bce4 |
comparison
equal
deleted
inserted
replaced
216:6aedf2026fb4 | 217:4db982514a5f |
---|---|
18 }, | 18 }, |
19 reader: { | 19 reader: { |
20 type: 'json', | 20 type: 'json', |
21 root: 'data' | 21 root: 'data' |
22 } | 22 } |
23 }, | |
24 getEidi: function() { | |
25 var ortId = this.get('portId'); | |
26 var probeId = this.get('probeId'); | |
27 return "/" + ortId + "/" + probeId; | |
23 } | 28 } |
24 }); | 29 }); |
25 | 30 |
26 function ts2date(v, record){ | 31 function ts2date(v, record){ |
27 // Converts a timestamp into a date object. | 32 // Converts a timestamp into a date object. |