[Lada-commits] [PATCH 2 of 2] Do not hide error provided by server

Wald Commits scm-commit at wald.intevation.org
Mon Oct 31 18:12:18 CET 2016


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1477930421 -3600
# Node ID 8567d14dfc9d6e6e189e4857a056b09fdce70592
# Parent  cfc24d2ae2686cbcd5ef7d3b545f8ced330ce60c
Do not hide error provided by server.

diff -r cfc24d2ae268 -r 8567d14dfc9d app/view/window/DeleteProbe.js
--- a/app/view/window/DeleteProbe.js	Mon Oct 31 13:54:00 2016 +0100
+++ b/app/view/window/DeleteProbe.js	Mon Oct 31 17:13:41 2016 +0100
@@ -65,7 +65,7 @@
                         else {
                             Ext.Msg.show({
                                 title: 'Fehler!',
-                                msg: 'Ein Fehler ist aufgetreten, ist die Probe nicht leer?',
+                                msg: i18n.getMsg(json.message),
                                 buttons: Ext.Msg.OK
                             });
                         }


More information about the Lada-commits mailing list