[Lada-commits] [PATCH 3 of 3] Return korrekt Messpunkt

Wald Commits scm-commit at wald.intevation.org
Tue Jul 2 10:46:14 CEST 2013


# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1372754571 -7200
# Node ID 30aae7295cd0c60254ca9fc244fe77bb107b21e3
# Parent  a80e84c934a4445f5ea6e6127c2e14c083c86937
Return korrekt Messpunkt

diff -r a80e84c934a4 -r 30aae7295cd0 app/view/orte/List.js
--- 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');
                 }
 
             }


More information about the Lada-commits mailing list