Hi,
Just installed the module on a new Drupal 7 site with the Navbar module. I noticed the module did not work with jQuery 1.10 as The $.browser method has been removed as of jQuery 1.9. So create a workaround. http://jquery.com/upgrade-guide/1.9/#jquery-browser-removed
So I have created a patch for this and updated the relevant jQuery libraries. There was a similar issue noted here: https://www.drupal.org/node/2846849 but thought it was more relevant to do a blanket jQuery 1.10 fix.
This fix will also work with jQuery 1.9 as well.
Thanks,
Chris
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | jquerysupport-2876919-3.patch | 619 bytes | basquet_57 |
| #2 | jquerysupport-2876919-2.patch | 893 bytes | c_archer |
Comments
Comment #2
c_archer commentedComment #3
c_archer commentedComment #4
basquet_57 commentedWe are also interested in getting this fixed.
The patch itself gave me errors, but cleaning out the first unnecessary part works fine.
Attaching modified file.
Tested and working with JQuery versions 1.5-1.10
Comment #5
c_archer commentedYour patch looks okay to me.
Comment #6
kingandyPatch works for me ONLY if I have jQuery aggregation disabled. For some reason when aggregated the "Cannot read property 'version' of undefined" error message still appears; the menu pops up but does not have the transition effect.
Installing the latest BGIframe release in the libraries folder as described in #2846849: Uncaught TypeError: Cannot read property 'version' of undefined fixed the issue, in combination with this patch.
Comment #7
avpadernoComment #8
astonvictor commentedD7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.