diff app/view/window/GenProbenFromMessprogramm.js @ 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 9c429e7bf747
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