[Dive4elements-commits] [PATCH] Fix AT export icon and file name after a km change

Wald Commits scm-commit at wald.intevation.org
Thu Jun 6 17:22:48 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1370451184 -7200
# Node ID 595f673f8a456e3827364e6570b4f6f50eafeb31
# Parent  97339d3955d73dd2652ce13f34f0240949607c64
Fix AT export icon and file name after a km change

diff -r 97339d3955d7 -r 595f673f8a45 gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ChartToolbar.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ChartToolbar.java	Thu Jun 06 16:56:08 2013 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ChartToolbar.java	Wed Jun 05 18:53:04 2013 +0200
@@ -118,7 +118,7 @@
 
         if (chartTab.getMode().getName().equals("fix_wq_curve")) {
             exportAT = new ImgLink(
-                baseUrl + MSG.downloadCSV(),
+                baseUrl + MSG.downloadAT(),
                 moduleUrl + "export" +
                    "?uuid=" + chartTab.getCollection().identifier() +
                    "&name=" + chartTab.getMode().getName() +
@@ -335,6 +335,7 @@
             exportAT.setSource(
                    moduleUrl + "export" +
                    "?uuid=" + chartTab.getCollection().identifier() +
+                   "&name=" + chartTab.getMode().getName() +
                    "&mode=" + chartTab.getMode().getName() + "_at_export" +
                    "&type=at" +
                    "&server=" + config.getServerUrl() +


More information about the Dive4elements-commits mailing list