Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CustomEventClick not fired when click on first AllDay Event in Weekview #22

Open
GerrGIT opened this issue May 9, 2022 · 0 comments
Open

Comments

@GerrGIT
Copy link
Contributor

GerrGIT commented May 9, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant