-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JS error when loading history through reports #142
Comments
Hi @jedimonkey, do you mind sharing the versions of Silverstripe modules that you're running? You can run I can't seem to recreate the JS error with the following steps:
|
Hi @brynwhyman, Sorry for the delay, been on leave and then came back to crazy amount of work. Here is the (long) list of plugins:
|
Hi @jedimonkey, could you check if this is still an issue with the latest version of the CMS and the module (4.12 and 1.12 respectively as of today)? |
I've installed this module to allow history access to elemental blocks (as there is an issue with the SS4 implementation and accessing the history of page blocks). So this module works fine, however accessing anything through the 'Reports' system has a javascript error when you click through to an item.
Clicking on any content (block or page) has a js error:
Clicking on the history shows a black view - as the JS HistoryViewer component didn't load
Reloading the page and it works fine:
I dug into the code a bit and can see that it's loading the JS and CSS after loading the view, however there is a race condition and it hasn't loaded / processed the JS in time when it's processing the view. Any idea how to fix this?
thanks!
The text was updated successfully, but these errors were encountered: