diff app/view/window/GenProbenFromMessprogramm.js @ 860:03f39ddae596

Restructured Filterresultgrid button-dock, added button to generate Proben from a selection of messprogramme.
author Dustin Demuth <dustin@intevation.de>
date Fri, 10 Jul 2015 18:18:00 +0200
parents dff2798390f8
children 99c5dd8e9b0f
line wrap: on
line diff
--- a/app/view/window/GenProbenFromMessprogramm.js	Fri Jul 10 17:14:19 2015 +0200
+++ b/app/view/window/GenProbenFromMessprogramm.js	Fri Jul 10 18:18:00 2015 +0200
@@ -124,7 +124,9 @@
                 this.getEl().addCls('window-inactive');
             },
             close: function () {
-                this.parentWindow.probenWindow = null;
+                if (this.parentWindow) {
+                    this.parentWindow.probenWindow = null;
+                }
             }
         });
 

http://lada.wald.intevation.org