Hello everybody, last week i ask for a solution in slack because my neos instance deletes the body scripts by navigating trough the nodetree.
I can’t find a solution until now. So i install a clean neos instance with the demo package.
Surprise! there is the same problem! Is there somebody who knows something about this issue?
Way to reproduce it:
Install neos demo (or other site)
Login to Backend
Reload Browser Window
Check the bodyscripts after footer section with your inspector (there are three bodyscripts of demo package)
Navigate in the nodetree
Check the bodyscripts again, the three scripts are disappeared!
Just gonna post my answer here as well so people can find it.
To share some insights here, this is nothing new and has been like this since before the first alpha. It’s jQuery that prevents inserting scripts loaded via AJAX into the DOM for security reasons.
Lastly the new refactored UI won’t have this issue since it’s using an iframe where security isn’t an issue and scripts are executed when the iframe url is updated.