-
Notifications
You must be signed in to change notification settings - Fork 301
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
Potentially loading javascript multiple times on a page #73
Comments
@ddrury - I'm guessing your recent patch to fix dialogs containing the CKeditor has fixed this issue... |
Yeah, seems to be. Must be due to CKEditor changes - absolutely nothing Regards ------ Original Message ------
|
Admittedly this is a bit contrived but ...
Assumes ckeditor is enabled.
Whenever the configure option for a block is clicked, block_edit.php initialises ckeditor, now if instead of saving the pop-up contents, the dialog is cancelled (by clicking on the overlay for example) then the ckeditor javascript remains loaded. Repeating the process results in a another lot of JS being loaded ad nauseum
I've used the sledgehammer method to "solve" it. Using my proposed modal dialog changes, I've added window.location.reload() to modalDialog close - not very satisfactory but it works.
This isn't incorporated in the pull request.
Is Modernizr.load() still causing problems?
The text was updated successfully, but these errors were encountered: