[Lada-commits] [PATCH] Close messprogramm windows on probe generation
Wald Commits
scm-commit at wald.intevation.org
Fri Jul 10 18:13:40 CEST 2015
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1436544804 -7200
# Node ID 6249b731d4385c58abc6ee288b724d67533c2b69
# Parent 2c686025934aa1acb00e78ce49485b9d6267913b
Close messprogramm windows on probe generation.
diff -r 2c686025934a -r 6249b731d438 app/view/window/GenProbenFromMessprogramm.js
--- a/app/view/window/GenProbenFromMessprogramm.js Fri Jul 10 18:04:20 2015 +0200
+++ b/app/view/window/GenProbenFromMessprogramm.js Fri Jul 10 18:13:24 2015 +0200
@@ -67,6 +67,7 @@
msg: me.evalResponse(json),
buttons: Ext.Msg.OK,
});
+ me.close();
},
failure: function(response) {
var json = null;
diff -r 2c686025934a -r 6249b731d438 app/view/window/Messprogramm.js
--- 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();
}
},
'->',
More information about the Lada-commits
mailing list