diff app/controller/form/Ortszuordnung.js @ 1335:cba4e0b0e336

Fixed ort grid selection.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 03 Feb 2017 17:02:55 +0100
parents cf73b7d7cf99
children f879c806f880
line wrap: on
line diff
--- a/app/controller/form/Ortszuordnung.js	Fri Feb 03 16:17:46 2017 +0100
+++ b/app/controller/form/Ortszuordnung.js	Fri Feb 03 17:02:55 2017 +0100
@@ -141,7 +141,7 @@
         var win = button.up('window');
         var gridPanel = win.down('panel[name=ortgrid]');
         var osg = win.down('ortstammdatengrid');
-        var oForm = button.up('form');
+        var oForm = button.up('window').down('ortszuordnungform');
         osg.addListener('select',oForm.setOrt, oForm);
         var map = win.down('map');
         if (pressed) {

http://lada.wald.intevation.org