# HG changeset patch # User Raimund Renkert # Date 1301389934 0 # Node ID 4d7c6a63602bcb2d7fb4fafa2921648588a09c8c # Parent c8cd1b918901926206998193f1ceae5853a2042e Fixed toggle method. flys-client/trunk@1600 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r c8cd1b918901 -r 4d7c6a63602b flys-client/ChangeLog --- a/flys-client/ChangeLog Mon Mar 28 17:04:17 2011 +0000 +++ b/flys-client/ChangeLog Tue Mar 29 09:12:14 2011 +0000 @@ -1,3 +1,8 @@ +2011-03-29 Raimund Renkert + + * src/main/java/de/intevation/flys/client/client/ui/MainMenu.java: Fixed + toggle method. + 2011-03-28 Ingo Weinzierl * src/main/java/de/intevation/flys/client/shared/model/CollectionItem.java, diff -r c8cd1b918901 -r 4d7c6a63602b flys-client/src/main/java/de/intevation/flys/client/client/ui/MainMenu.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/MainMenu.java Mon Mar 28 17:04:17 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/MainMenu.java Tue Mar 29 09:12:14 2011 +0000 @@ -68,10 +68,11 @@ projectList.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { GWT.log("Clicked 'Open ProjectList' button."); + ProjectList list = getFlys().getProjectList(); if (getFlys().getProjectList().isVisible()) - getFlys().getProjectList().hide(); + list.hide(); else - getFlys().getProjectList().show(); + list.show(); } });