diff app/controller/grid/Ortszuordnung.js @ 1342:d5e270fa91e4

fix: Ortserstellung for Staaten and validity check triggers
author Maximilian Krambach <mkrambach@intevation.de>
date Mon, 06 Feb 2017 09:59:03 +0100
parents af169bcb67df
children 195c5d9b234b
line wrap: on
line diff
--- a/app/controller/grid/Ortszuordnung.js	Fri Feb 03 21:43:52 2017 +0100
+++ b/app/controller/grid/Ortszuordnung.js	Mon Feb 06 09:59:03 2017 +0100
@@ -319,6 +319,7 @@
 
     selectedStaat: function(grid, record) {
         var win = grid.up('window');
+        var panel = this.searchField.up('panel').up('window');
         win.hide();
         this.searchField.reset();
         Ext.create('Lada.view.window.Ortserstellung', {
@@ -330,7 +331,7 @@
                 berichtstext: record.get('staat'),
                 ortTyp: 5
             }),
-            parentWindow: win
+            parentWindow: panel
         }).show();
     }
 });

http://lada.wald.intevation.org