changeset 4139:947d79b9c675

Merged heads.
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 15 Oct 2012 16:09:12 +0200
parents 9be8d7942284 (diff) 1d9c9a3493ea (current diff)
children a9bafa5445f9 d7db9baa4e62
files
diffstat 3 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Mon Oct 15 16:05:20 2012 +0200
+++ b/flys-client/ChangeLog	Mon Oct 15 16:09:12 2012 +0200
@@ -1,3 +1,10 @@
+2012-10-15	Björn Ricks	<bjoern.ricks@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/client/ui/GaugePanel.java,
+	  src/main/java/de/intevation/flys/client/client/ui/GaugeTree.java:
+	  Open gauge and river info links in a new browser window
+	  Fix for issue #918
+
 2012-10-15	Christian Lins	<christian.lins@intevation.de>
 
 	* flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java,
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/GaugePanel.java	Mon Oct 15 16:05:20 2012 +0200
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/GaugePanel.java	Mon Oct 15 16:09:12 2012 +0200
@@ -198,7 +198,7 @@
             String url = number != null ?
                 MSG.gauge_river_url() + number :
                 MSG.gauge_river_url();
-            Anchor anchor = new Anchor(MSG.gauge_river_info_link(), url);
+            Anchor anchor = new Anchor(MSG.gauge_river_info_link(), url, "_blank");
             add(anchor);
         }
 
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/GaugeTree.java	Mon Oct 15 16:05:20 2012 +0200
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/GaugeTree.java	Mon Oct 15 16:09:12 2012 +0200
@@ -396,7 +396,7 @@
             String url = number != null ?
                 MSG.gauge_url() + number :
                 MSG.gauge_url();
-            Anchor anchor = new Anchor(MSG.gauge_info_link(), url);
+            Anchor anchor = new Anchor(MSG.gauge_info_link(), url, "_blank");
             addMember(anchor);
 
             addMember(new GaugeCurveAnchor(flys, gauge));

http://dive4elements.wald.intevation.org