-
Notifications
You must be signed in to change notification settings - Fork 0
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
Breaks JS on frontend in IE11 #3
Comments
Thank you @adrianbj for reporting this! A quickfix would be to simply make the hook only load in the pw admin: $this->wire->addHookAfter('Page(template=admin)::render', function($event) {
...
}); I think it would not really be a problem to drop "support" of RockGrid in the frontend. I don't know of anybody that has ever used it on the frontend. Some plugins that I've created even don't work on the frontend - I didn't have the need and time to support it. |
Yeah, that would probably be fine - I don't think backend code needs to support IE11, but the problem is that until Microsoft ports Edge to Windows 7 (which is coming), any code that completely halts execution of JS scripts (like that use of dispatchEvent does), needs to not be run on the frontend. Cheers! |
Hey @BernhardBaumrock - this line:
FieldtypeRockGrid/FieldtypeRockGrid.module.php
Line 42 in cc8115d
gets output on the frontend of your site and breaks other JS in IE11.
Surely this should be limited to the backend and instances where RockGrid is actually displayed? Also, I expect it will break the PW in the backend on IE11 as well.
Let me know if you need any other info.
The text was updated successfully, but these errors were encountered: