Mercurial > dive4elements > river
changeset 88:4d7c6a63602b
Fixed toggle method.
flys-client/trunk@1600 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 29 Mar 2011 09:12:14 +0000 |
parents | c8cd1b918901 |
children | 131e3f23a74e |
files | flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/MainMenu.java |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 <rrenkert@intevation.de> + + * src/main/java/de/intevation/flys/client/client/ui/MainMenu.java: Fixed + toggle method. + 2011-03-28 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/CollectionItem.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(); } });