[Lada-commits] [PATCH 2 of 7] Added reference to probe window when opening messung create window

Wald Commits scm-commit at wald.intevation.org
Wed Aug 31 16:25:04 CEST 2016


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1472651767 -7200
# Branch schema-update
# Node ID af65544e47e259b355212d8d1f3598a2de60320d
# Parent  52bf58630e5817de6d77bb5030586c5f200723fc
Added reference to probe window when opening messung create window.

diff -r 52bf58630e58 -r af65544e47e2 app/controller/grid/Messung.js
--- a/app/controller/grid/Messung.js	Wed Aug 31 15:54:12 2016 +0200
+++ b/app/controller/grid/Messung.js	Wed Aug 31 15:56:07 2016 +0200
@@ -110,7 +110,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();


More information about the Lada-commits mailing list