From: Jouni Koivuviita Date: Fri, 7 Dec 2007 08:55:54 +0000 (+0000) Subject: Fixes small bug (after closing popup from somewhere else than the calendar button... X-Git-Tag: 6.7.0.beta1~5274 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3b75d39c5eaf42de478e6ad663876510f40f7ee7;p=vaadin-framework.git Fixes small bug (after closing popup from somewhere else than the calendar button you have to click twice to open it again). svn changeset:3185/svn branch:trunk --- diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/IPopupCalendar.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/IPopupCalendar.java index a2113012b1..8d1495190a 100644 --- a/src/com/itmill/toolkit/terminal/gwt/client/ui/IPopupCalendar.java +++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/IPopupCalendar.java @@ -77,6 +77,7 @@ public class IPopupCalendar extends ITextualDate implements Paintable, public void onPopupClosed(PopupPanel sender, boolean autoClosed) { if (sender == popup) { buildDate(); + open = false; } }