Skip to content

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

@GerrGIT

Description

@GerrGIT

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions