Dmx-calendar, source on-click event not opening modal

When clicked the event doesn’t seem to do anything?

image

Check your browser console for errors.

Hi Teodor…yes did that… no errors shown it just seems totally unresponsive.
Removed tooltips, just in case that was causing the problem but still no change.

I now get the following console error

Are you loading two versions of Bootstrap on the same page? May be worth checking.

Thanks TMR for your suggestion.
Had a good look, no conflicts only bootstrap5 local loaded.

I did find this in the ‘bootstrap 4 preview.html’ page

would that cause a problem, should I delete the duplicate script?
Always wary when editing pages I haven’t created :sweat_smile:

Yes, try removing it.

Yes… done that a searched everywhere for BS4 scripts and there are none

If you are using a layout page, check that for duplicates too.

Ok done that too…I have other problems with the calendar when I try and use popovers, so I restrict sources to triggering tooltips.

I have a workaround for the modal situation by using the parent calendar click_event not the source click event and use ‘$event.event.extendedProps.myVar’ to detect the selected event…long winded but works.

Thanks for your help TMR :slight_smile:

1 Like

You are welcome :slight_smile:

I’ve had similar issues with popovers not working, it was caused by a third party JS script supplied with a template. I disabled all scripts on the page, one by one, until I found it.

Glad you found a workaround.!

1 Like