diff app/view/window/Messprogramm.js @ 859:6249b731d438

Close messprogramm windows on probe generation.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 10 Jul 2015 18:13:24 +0200
parents 097d4edc2f00
children def27cdd0dfa
line wrap: on
line diff
--- a/app/view/window/Messprogramm.js	Fri Jul 10 18:04:20 2015 +0200
+++ b/app/view/window/Messprogramm.js	Fri Jul 10 18:13:24 2015 +0200
@@ -31,6 +31,7 @@
 
     initComponent: function() {
         var i18n = Lada.getApplication().bundle;
+        var me = this;
 
         if (this.record == null) {
             this.title = i18n.getMsg('messprogramm.window.create.title');
@@ -58,6 +59,7 @@
                     this.probenWindow.focus();
                     this.probenWindow.setActive(true);
                }
+                me.close();
             }
         },
         '->',

http://lada.wald.intevation.org