comparison 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
comparison
equal deleted inserted replaced
1208:1179a6358213 1209:78805e951c37
147 147
148 if (json.message != '200') { 148 if (json.message != '200') {
149 // handle LADA server errors 149 // handle LADA server errors
150 Ext.Msg.alert(i18n.getMsg('err.msg.generic.title'), 150 Ext.Msg.alert(i18n.getMsg('err.msg.generic.title'),
151 i18n.getMsg(json.message)); 151 i18n.getMsg(json.message));
152 me.setLoading(false);
152 } else { 153 } else {
153 var radio = Ext.ComponentQuery.query('modeswitcher')[0] 154 var radio = Ext.ComponentQuery.query('modeswitcher')[0]
154 .down('radiofield[inputValue=proben]'); 155 .down('radiofield[inputValue=proben]');
155 radio.setValue(true); 156 radio.setValue(true);
156 157

http://lada.wald.intevation.org