diff app/view/window/Messprogramm.js @ 861:99c5dd8e9b0f

merged heads
author Dustin Demuth <dustin@intevation.de>
date Fri, 10 Jul 2015 18:18:53 +0200
parents 6249b731d438
children def27cdd0dfa
line wrap: on
line diff
--- a/app/view/window/Messprogramm.js	Fri Jul 10 18:18:00 2015 +0200
+++ b/app/view/window/Messprogramm.js	Fri Jul 10 18:18:53 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