In IE8, a ClosingEvent appears to be generated when clicking an event in the the month view Calendar.
When I click an event in the month view Calendar, both onEventClick and onWindowClosing are invoked.
In Firefox, Chrome and IE11, only the onEventClick is invoked when clicking an event in the the month view Calendar.
SmartClient Version: v9.1p_2015-02-03/Pro Deployment (built 2015-02-03)
Thanks
Code:
com.google.gwt.user.client.Window.addWindowClosingHandler(new ClosingHandler() { @Override public void onWindowClosing(ClosingEvent closingEvent) { ... } });
Code:
addEventClickHandler(new EventClickHandler() { @Override public void onEventClick(CalendarEventClick event) { event.cancel(); ... } });
In Firefox, Chrome and IE11, only the onEventClick is invoked when clicking an event in the the month view Calendar.
SmartClient Version: v9.1p_2015-02-03/Pro Deployment (built 2015-02-03)
Thanks
Comment