diff app/view/orte/List.js @ 152:30aae7295cd0

Return korrekt Messpunkt
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 02 Jul 2013 10:42:51 +0200
parents a80e84c934a4
children 1536fb5c81b7
line wrap: on
line diff
--- a/app/view/orte/List.js	Tue Jul 02 10:42:36 2013 +0200
+++ b/app/view/orte/List.js	Tue Jul 02 10:42:51 2013 +0200
@@ -73,7 +73,9 @@
                 header: 'Messpunkt',
                 dataIndex: 'ortId',
                 renderer: function(value) {
-                    return "???";
+                    var store = Ext.getStore('Ortedetails');
+                    var record = store.getById(value);
+                    return record.get('bezeichnung');
                 }
 
             }

http://lada.wald.intevation.org