diff app/controller/form/Messung.js @ 695:d6ef146e1a9f

Added simple handling for Failure-Messages
author Dustin Demuth <dustin@intevation.de>
date Thu, 26 Mar 2015 16:24:13 +0100
parents 817524db4017
children f0bc5387abcc
line wrap: on
line diff
--- a/app/controller/form/Messung.js	Thu Mar 26 16:02:38 2015 +0100
+++ b/app/controller/form/Messung.js	Thu Mar 26 16:24:13 2015 +0100
@@ -62,7 +62,9 @@
                     }
 
                     if(json.message){
-                        Ext.Msg.alert(Lada.getApplication().bundle.getMsg('errmsgtitle'), Lada.getApplication().bundle.getMsg(json.message));
+                        Ext.Msg.alert(Lada.getApplication().bundle.getMsg('errmsgtitle')
+                            +' '+json.message,
+                            Lada.getApplication().bundle.getMsg(json.message));
                     }
                 }
             }

http://lada.wald.intevation.org