FIXED: Close button on calendar item

I found a process in which the close button on the modal details window from the calendar will no longer work.

Steps to repeat:

  1. click on a calendar item to open a modal window showing the basics of that calendar item
  2. click on the details button within the modal window
  3. click the browsers’ back button
  4. Now the close button will not work but the details button still does.

It turns out this is a problem that happens using Bootstrap and there are a couple ways of tackling it. Here is a solution I got to work. The focus of this solution is to close the modal first, and then go to the details page so that when the back button is pressed you’re back on the calendar.

    $(function () {
        $("a.eventUrl").click(function (e) {
            theURL = e.currentTarget.href;
            // hide the modal
            // go to the details URL
            window.location.href = theURL;


Got a fix for this too @PrestonKorn. It will go live tonight. Thanks!

1 Like