Mercurial > lada > lada-client
comparison app/controller/form/Probe.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 | f124d24c8ade |
children | aadb6e1f0a70 |
comparison
equal
deleted
inserted
replaced
719:5e91a740aff8 | 720:c2a6f7caa71b |
---|---|
71 Lada.getApplication().bundle.getMsg(json.message)); | 71 Lada.getApplication().bundle.getMsg(json.message)); |
72 } else { | 72 } else { |
73 Ext.Msg.alert(Lada.getApplication().bundle.getMsg('err.msg.save.title'), | 73 Ext.Msg.alert(Lada.getApplication().bundle.getMsg('err.msg.save.title'), |
74 Lada.getApplication().bundle.getMsg('err.msg.generic.body')); | 74 Lada.getApplication().bundle.getMsg('err.msg.generic.body')); |
75 } | 75 } |
76 formPanel.clearMessages(); | |
77 formPanel.setRecord(record); | |
78 formPanel.setMessages(json.errors, json.warnings); | |
76 } else { | 79 } else { |
77 Ext.Msg.alert(Lada.getApplication().bundle.getMsg('err.msg.save.title'), | 80 Ext.Msg.alert(Lada.getApplication().bundle.getMsg('err.msg.save.title'), |
78 Lada.getApplication().bundle.getMsg('err.msg.response.body')); | 81 Lada.getApplication().bundle.getMsg('err.msg.response.body')); |
79 } | 82 } |
83 | |
80 } | 84 } |
81 }); | 85 }); |
82 }, | 86 }, |
83 | 87 |
84 discard: function(button) { | 88 discard: function(button) { |