• Resolved leemon

    (@leemon)


    In the plugin’s FAQ there’s a mention of a .nonavailableslots CSS that is applied to calendar dates without available time slots (ex: fully booked):

    https://wptimeslot.dwbooster.com/faq#275

    In a calendar I created in a site this CSS class is never applied when a calendar date doesn’t have any available slots (fully booked and not pending).

    Is this normal?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter leemon

    (@leemon)

    It seems that this line in the 37_fbuilder.fslots.js file is not run in the case all slots in a date are booked:

    c.push("nonworking ?ui-datepicker-unselectable ui-state-disabled tmpinvalidDate nonavailableslots");

    Thread Starter leemon

    (@leemon)

    It’s weird because I tried this in the demo on your site, and the CSS class is applied correctly when one books all slots in a date and they are approved by the admin.

    Thread Starter leemon

    (@leemon)

    Ok, I see. If the “Show used slots” checkbox in the calendar field is checked, then the .nonavailableslots class is not applied.

    Plugin Author codepeople

    (@codepeople)

    Hi,

    Yes, that style doesn’t apply if that option is checked.

    Thank you for using the plugin!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.