![]() |
What about the browser detection in the javascript files? Do they need a fix as well?
|
Nearly positive all of our detection is done with is_browser, I haven't detected anything working/not working based on js detection.
|
Anyone fixed this on 3.7?
|
Quote:
(Yes, I know it not downloadable yet, but it will be when I get time to make it available). |
Quote:
Thanks! |
Smileys don't seem to work in IE11/vB3.8 by clicking them in WYSIWYG mode. Works fine in compatibility mode. Any fix for this?
Edit: Enabling the "Send Internet Explorer 7 Compatibility Header" option seems to fix it, however if I do that mods like the vbshop stop working properly (clicking the tabs on the main page of the shop does nothing). |
It appears that YUI will also need to be updated to handle the issues with the editor. Though, I don't know how reasonable that will be. I suspect we can just append similar code to the YUI file for browser matching. But I'm not overly familiar with js.
You'd want to look at /clientscript/yui/yahoo-dom-event.js and find: else{A=B.match(/MSIE\s([^;]*)/); Then you'd have to append something to match Trident, instead of IE, and check for rv: instead of the MSIE version string. I'm not a pro at regex so I don't quiet understand how that regex works or what its trying to match. I don't think any version of YUI supports IE11 though, since it was discontinued almost 3 years ago now. Before IE was even a thing. You'd need to add something like else{A=B.match(/Trident\s([^;]*)/); basically, you need to patch YUI with IE11 detection. I'm not sure if the above code is correct, you'll have to dig around and check out how the user agent is parsed, and then figure out how to add the additional parsing. |
Thanks Zachery. I'll have a look at it tomorrow. :)
|
This regex will match Trident OR MSIE....
Code:
[Trident|MSIE]+\s([^;]*) Code:
else{A=B.match(/[Trident|MSIE]+\s([^;]*)/); |
<font face="Courier">(Trident|MSIE)</font> would match specifically one of those two words, but I don' know how that affects the JS.
|
All times are GMT. The time now is 06:48 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|