comparison app/controller/form/Messung.js @ 720:c2a6f7caa71b

Fix for ErrorMessages in FieldSets for IE8 IE9
author Dustin Demuth <dustin@intevation.de>
date Wed, 15 Apr 2015 18:34:23 +0200
parents 605bc34b45a0
children 6e28ebbe1a73
comparison
equal deleted inserted replaced
719:5e91a740aff8 720:c2a6f7caa71b
78 } 78 }
79 else { 79 else {
80 Ext.Msg.alert(Lada.getApplication().bundle.getMsg('err.msg.save.title'), 80 Ext.Msg.alert(Lada.getApplication().bundle.getMsg('err.msg.save.title'),
81 Lada.getApplication().bundle.getMsg('err.msg.generic.body')); 81 Lada.getApplication().bundle.getMsg('err.msg.generic.body'));
82 } 82 }
83 } 83 formPanel.clearMessages();
84 formPanel.setRecord(record);
85 formPanel.setMessages(json.errors, json.warnings);
86 formPanel.up('window').initData();
87 formPanel.up('window').grid.store.reload();
88 }
84 else { 89 else {
85 Ext.Msg.alert(Lada.getApplication().bundle.getMsg('err.msg.save.title'), 90 Ext.Msg.alert(Lada.getApplication().bundle.getMsg('err.msg.save.title'),
86 Lada.getApplication().bundle.getMsg('err.msg.response.body')); 91 Lada.getApplication().bundle.getMsg('err.msg.response.body'));
87 } 92 }
88 formPanel.setLoading(false); 93 formPanel.setLoading(false);

http://lada.wald.intevation.org