Mercurial > dive4elements > river
changeset 7959:8e320b5933de
Fixed river selection for interactive map.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Fri, 20 Jun 2014 13:45:54 +0200 |
parents | 632c724fed2d |
children | fbab10c21e0b 598e4bec920b |
files | gwt-client/src/main/java/org/dive4elements/river/client/client/ui/LinkSelection.java |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/LinkSelection.java Fri Jun 20 12:51:08 2014 +0200 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/LinkSelection.java Fri Jun 20 13:45:54 2014 +0200 @@ -186,6 +186,7 @@ int counter = 0; for (DataItem item: d.getItems()) { HLayout row = new HLayout(); + row.setTitle(item.getLabel()); LinkItem link = new LinkItem("river"); link.setHoverDelay(0); link.setLinkTitle(item.getLabel()); @@ -312,7 +313,8 @@ private static void selectCallback(String name) { if (availableRiver(name)) { - trigger.trigger(name); + String river = riverList.get(name).getTitle(); + trigger.trigger(river); } }