comparison app/controller/form/Ort.js @ 704:2d454bfef426

Further Failure Messages
author Dustin Demuth <dustin@intevation.de>
date Fri, 27 Mar 2015 11:22:35 +0100
parents f0bc5387abcc
children 6e28ebbe1a73
comparison
equal deleted inserted replaced
703:9ab7b1eed9f8 704:2d454bfef426
55 if(json.errors.totalCount > 0 || json.warnings.totalCount > 0){ 55 if(json.errors.totalCount > 0 || json.warnings.totalCount > 0){
56 formPanel.setMessages(json.errors, json.warnings); 56 formPanel.setMessages(json.errors, json.warnings);
57 } 57 }
58 58
59 if(json.message){ 59 if(json.message){
60 Ext.Msg.alert(Lada.getApplication().bundle.getMsg('errmsgtitle') 60 Ext.Msg.alert(Lada.getApplication().bundle.getMsg('err.msg.save.title')
61 +' #'+json.message, 61 +' #'+json.message,
62 Lada.getApplication().bundle.getMsg(json.message)); 62 Lada.getApplication().bundle.getMsg(json.message));
63 } else { 63 } else {
64 Ext.Msg.alert(Lada.getApplication().bundle.getMsg('err.msg.save.title'), 64 Ext.Msg.alert(Lada.getApplication().bundle.getMsg('err.msg.save.title'),
65 Lada.getApplication().bundle.getMsg('err.msg.generic.body')); 65 Lada.getApplication().bundle.getMsg('err.msg.generic.body'));

http://lada.wald.intevation.org