Support » Plugin: The Events Calendar » Gridview date selectors

  • Resolved guiniveretoo


    Hi There ModernTribe!

    I just found a bit of a bug when using this plugin with the Uniform JS library ( It adds wrappers around any form elements, and messes up your datepicker dropdown script. Instead of returning “” it returns “”.

    On line 50 of the events.js file, there’s a line that looks like this:

    baseUrl = $(this).parent().attr("action");

    Because Uniform.js wraps inputs and selectors in divs (so it can replace them with pretty-looking spans), the ‘parent’ of doesn’t have an ‘action’ when this happens. A solution to this is to replace that line with this:

    baseUrl = $(this).closest('form').attr("action");

    Hope this helps someone else!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author faction23


    Thanks for the note! I’ve modified the baseurl to go with id of form to guarantee we get it right. 😉 Goes into 3.0.

    Plugin Author Rob La Gatta


    Just wanted to follow-up to say thanks for the suggestion here, guiniveretoo. As Sam noted in his follow-up we’ve adjusted the code so this gets fixed in the 3.0 release, which we’re working on now and should have out over the next few months.

    Going to mark this Resolved since it seems we’re set in the short-term, but please let us know if you need anything else in the future. Thanks again for your use of The Events Calendar.

    Sounds good! Glad I could help 🙂

    Plugin Author Rob La Gatta


    Thanks again for your support!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Gridview date selectors’ is closed to new replies.