#13018 closed defect (fixed)
MenusPlugin breaks on Superfish with Trac 1.2
| Reported by: | morgana2313 | Owned by: | Ryan J Ollos |
|---|---|---|---|
| Priority: | normal | Component: | MenusPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: |
Description
Chrome browser gives the following javascript error:
superfish.js:64 Uncaught TypeError: Cannot read property 'msie' of undefined
at HTMLUListElement.<anonymous> (superfish.js:64)
at Function.each (jquery.js:2)
at m.fn.init.each (jquery.js:2)
at m.fn.init.$.fn.superfish (superfish.js:62)
at HTMLDocument.<anonymous> (tracmenus.js:2)
at j (jquery.js:2)
at Object.fireWith [as resolveWith] (jquery.js:2)
at Function.ready (jquery.js:2)
at HTMLDocument.J (jquery.js:2)
(anonymous) @ superfish.js:64
each @ jquery.js:2
each @ jquery.js:2
$.fn.superfish @ superfish.js:62
(anonymous) @ tracmenus.js:2
j @ jquery.js:2
fireWith @ jquery.js:2
ready @ jquery.js:2
J @ jquery.js:2
Perhaps the Superfish version needs to be upgraded to be compatible with jquery > 1.9 ? https://stackoverflow.com/questions/14923301/uncaught-typeerror-cannot-read-property-msie-of-undefined-jquery-tools#14923480
Trac 1.1 uses JQuery 1.7, Trac 1.2 uses 1.11
Attachments (1)
Change History (13)
comment:1 follow-up: 3 Changed 9 years ago by
comment:2 Changed 9 years ago by
| Owner: | Catalin BALAN deleted |
|---|
comment:3 Changed 8 years ago by
In my installation the plugin didn't crash, but was not able to show the menus properly. Menus and submenus were all displayed together in a large single line. I have now upgraded to superfish 1.7.9 and jquery-hoverIntent 1.8.1 and the plugin works again as with TRAC 1.0. (IE and firefox, I don't have chrome)
comment:4 follow-up: 5 Changed 8 years ago by
Thanks. Would you be willing to test the latest source for the plugin if I upgraded those libraries?
comment:5 Changed 8 years ago by
Replying to Ryan J Ollos:
Thanks. Would you be willing to test the latest source for the plugin if I upgraded those libraries?
I'll try ...
comment:6 Changed 8 years ago by
| Owner: | set to Ryan J Ollos |
|---|---|
| Status: | new → accepted |
Changed 8 years ago by
comment:9 Changed 8 years ago by
comment:11 Changed 8 years ago by
If you are able to provide a patch, please make sure to provide a diff as described in trac:TracDev/SubmittingPatches.




Replying to morgana2313:
Could you give the upgrade a try to see if it resolves the issue? Let me know if you need any hints on updating the dependency in the plugin.