wojtek
April 2, 2025, 9:57pm
167
So it looks like jQuery is missing. I searched a bit and found:
FYI, there’s been a big update to Open Framework. WK has been modifying a lot of pages lately, including Jquery no longer running on a lot of them, so things have been breaking.
I removed a lot of the dependencies on jquery, but the Settings and Progress modules still require it because they are based on Jquery UI. So, I also added a new Jquery module (wkof.Jquery) that loads jquery if it’s not already included in the WK page you’re running on.
If your script needs jquery to run, you can sim…
so it seems that the script should add/use:
wkof.include('Jquery');
wkof.ready('Jquery').then(do_something);
I change the script a bit (moved call to add_css(); to then() block and the rest DOM modifications) and while it removed the error it didn’t make the graph visible.
All in all - is this script working for anyone?