WordPress.org

Ready to get started?Download WordPress

Forums

My Calendar
[resolved] Issue with Ajax scripts and closing events (3 posts)

  1. nirgalo
    Member
    Posted 1 year ago #

    Using MyCalendar 2.2.7. Ajax script work better now, thanks for the fixes, but there is still a problem apparently with closing events on the mini calendar after moving to next month using Ajax scripts:
    - using the mini calendar as widget, have two months populated with events, have ajax script enabled
    - open an event on current month, close it -> works fine
    - now click Next Events to go the next month
    - click an event, close it -> it doesn't close

    http://wordpress.org/plugins/my-calendar/

  2. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for catching this. It's a simple update.

    In the mini calendar scripts, change:

    $(".mini-event .close").on("click",

    to

    $(document).on("click", ".mini-event .close",

    I'll get this out in the next update. It was an oversight in the last update.

  3. nirgalo
    Member
    Posted 1 year ago #

    Thanks Joe, I just tested with the modification and it is working fine.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic