changeset 1209:78805e951c37

Release window if server reports errors.
author Tom Gottfried <tom@intevation.de>
date Mon, 10 Oct 2016 16:42:30 +0200
parents 1179a6358213
children a24de34d6423
files app/view/window/GenProbenFromMessprogramm.js
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/window/GenProbenFromMessprogramm.js	Fri Sep 30 19:21:51 2016 +0200
+++ b/app/view/window/GenProbenFromMessprogramm.js	Mon Oct 10 16:42:30 2016 +0200
@@ -149,6 +149,7 @@
             // handle LADA server errors
             Ext.Msg.alert(i18n.getMsg('err.msg.generic.title'),
                           i18n.getMsg(json.message));
+            me.setLoading(false);
         } else {
             var radio = Ext.ComponentQuery.query('modeswitcher')[0]
                 .down('radiofield[inputValue=proben]');

http://lada.wald.intevation.org