changeset 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 e9fb4814153a
files app/view/orte/List.js
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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