diff app/controller/grid/Messung.js @ 1190:d7bcd31ceaa6

Added reference to probe window when opening messung create window. (grafted from af65544e47e259b355212d8d1f3598a2de60320d)
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 31 Aug 2016 15:56:07 +0200
parents f43635937581
children 41b894caacfe
line wrap: on
line diff
--- a/app/controller/grid/Messung.js	Wed Sep 07 15:36:29 2016 +0200
+++ b/app/controller/grid/Messung.js	Wed Aug 31 15:56:07 2016 +0200
@@ -111,7 +111,8 @@
         var probe = button.up('window').record;
         var win = Ext.create('Lada.view.window.MessungCreate', {
             record: probe,
-            grid: button.up('messunggrid')
+            grid: button.up('messunggrid'),
+            parentWindow: button.up('window')
         });
         win.show();
         win.initData();

http://lada.wald.intevation.org