Opened 16 years ago
Closed 16 years ago
#1341 closed bug (fixed)
jQuery 1.1.3 fails completely in Konqueror 3.5.5 !
Reported by: | frando | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | 1.1.4 |
Component: | core | Version: | 1.1.3 |
Keywords: | konqueror | Cc: | |
Blocked by: | Blocking: |
Description
Konqueror always had its problems with Javascript and jQuery. With 1.1.2, most stuff worked, though. 1.1.3 now doesn't work at all. Everything fails. I think it doesn't even get unpacked correctly.
Here's what Konqueror reports when visiting jQuery.com (in the JavaScript errors window):
Error: http://code.jquery.com/jquery-latest.pack.js: TypeError: Null value Error: http://static.jquery.com/files/design/js/jqbrowser2.js: TypeError: Value undefined (result of expression jQuery.find) is not an object. Cannot be called. Error: http://static.jquery.com/files/design/js/jquery-site.js: TypeError: Value undefined (result of expression $(document).ready) is not an object. Cannot be called.
Change History (5)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Hello,
Compression slowness in konqueror have been fixed with Konqueror 3.5.7 but it's broken again.
Beside this I am not sure that javascript compression is realy a good idea :
comment:3 Changed 16 years ago by
Hello again,
I toke 5 minutes this morning and I changed this line
version: b.match(/.+(?:rv|it|ra|ie|la)[\/: ]([\d.]+)/)[1],
In this one
version: b.match(/.+(?:rv|it|ra|ie|ml)[\/: ]([\d.]+)/)[1],
And jQuery seems to work again on Konqueror ...
comment:4 Changed 16 years ago by
Cool! Thanks, it really seems to work. In order to explain the fix, Konqueror (on kubuntu) returns a user agent string:
mozilla/5.0 (compatible; konqueror/3.5; linux) khtml/3.5.6 (like gecko)(kubuntu)
The fix takes the version number after khtml/
It's not related to the packer, using the uncompressed version results in the same error.