changeset 6222:595f673f8a45

Fix AT export icon and file name after a km change
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 05 Jun 2013 18:53:04 +0200
parents 97339d3955d7
children e53a569bcb4b
files gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ChartToolbar.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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() +

http://dive4elements.wald.intevation.org