Datatables Customisation broken

Just noticed that Datatables is erroring in the Console -

image

@Kyle

I think that’s part the UI upgrade. Does it still render? That looks like a warning and sounds like the same thing affecting the events plugin. Change in APIs.

Will need to look at the code to understand how it works - but currently it just shows a ? (no tick or cross) - but that might just be because we are on a test system

Out of curiosity - what does this plugin do? Is it needed?

It references Babel (the old chat plugin that’s been deprecated)

Fixed - replaced with SLMS Datatables - will need to be revisited at some point

The plugin renders Datatables inside of posts like here: https://discoursefrombackup.southlondonmakerspace.org/t/suppliers-directory-where-to-get-parts-materials-and-services/2907, unrelated to the calendar.

I gave it a try using the old component with an updated CSP setting and it seems to work out of the box:

Btw, babel is also the name of the javascript compiler that turns what we right in plugins into the javascript that runs in the browser. It was a helpful comment in the datatables plugin code.

Its why we can’t right plugin code with “async” even if its very well supported.