diff app/controller/form/Probe.js @ 1356:81b585645581

Remove dead code.
author Tom Gottfried <tom@intevation.de>
date Tue, 07 Feb 2017 17:18:13 +0100
parents 9d298c82575f
children 49efc1cc0eac
line wrap: on
line diff
--- a/app/controller/form/Probe.js	Tue Feb 07 16:50:16 2017 +0100
+++ b/app/controller/form/Probe.js	Tue Feb 07 17:18:13 2017 +0100
@@ -118,10 +118,6 @@
                 formPanel.getForm().loadRecord(record);
                 var json = response.request.scope.reader.jsonData;
                 if (json) {
-                    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,

http://lada.wald.intevation.org