Mercurial > lada > lada-client
diff app/controller/form/Messung.js @ 1356:81b585645581
Remove dead code.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Tue, 07 Feb 2017 17:18:13 +0100 |
parents | 0a032c98c3a6 |
children | 7e9a6f0e55b3 |
line wrap: on
line diff
--- a/app/controller/form/Messung.js Tue Feb 07 16:50:16 2017 +0100 +++ b/app/controller/form/Messung.js Tue Feb 07 17:18:13 2017 +0100 @@ -79,11 +79,6 @@ formPanel.getForm().loadRecord(formPanel.getForm().getRecord()); var json = response.request.scope.reader.jsonData; if (json) { - if (json.errors || json.warnings) { - if (json.errors.totalCount > 0 || json.warnings.totalCount > 0) { - formPanel.setMessages(json.errors, json.warnings); - } - } if (json.message) { Ext.Msg.alert(Lada.getApplication().bundle.getMsg('err.msg.save.title') + ' #' + json.message,