CalenStyle icon indicating copy to clipboard operation
CalenStyle copied to clipboard

CustomEventClick not fired when click on first AllDay Event in Weekview

Open GerrGIT opened this issue 2 years ago • 0 comments

How to reproduce this bug:

On desktop. Goto demo/CalExampleCustomEventClick.htm Goto the WeekView.

Click on an All Day event. The custom event click is not fired. The event is 'selected' because it remains the 'cEditingEvent' css class. Click on another All Day event, the custom click is now fired. But the first one still not works.

I believe there is an easy fix. Change the line:

to._changeViewPropertiesWhileEditing("BEFORE", sEventId); in _setAllDayEventBeingEditedInDetailView into: if($.CalenStyle.extra.bTouchDevice) to._changeViewPropertiesWhileEditing("BEFORE", sEventId); same as this bTouchDevice check is done for the single events in _setSmallEventBeingEditedInDetailView.

This should solve the problem.

GerrGIT avatar May 09 '22 06:05 GerrGIT