I tried adding Navbar to a site running Commons 3.1 and the latest nightly dev snapshot (April 1) of the Commons Origins theme.
Looks like we have a JS parse error, and in the console log I see,
Uncaught TypeError: Cannot read property 'eventhandlerViewportOffsetChange' of undefined jquery.js:35
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 1960716.patch | 305 bytes | jessebeach |
| #2 | help-me-obi-wan-kenobi.jpg | 22.61 KB | webchick |
Comments
Comment #1
ezra-g commentedI believe this is happening only on pages that use the Origins theme, but not the AT Admin theme.
Comment #2
webchickHelp us, Jesse! You're our only hope!
(Stealing your image ;))
Comment #3
Sel_Space commentedThe problem comes from the dependency with the overlay module , once you enable the module the bug goes away
at the ligne 18 navbar.js
there is a call to Drupal.overlay function which will be undefined if the overlay module isn't enabled
Comment #4
jessebeach commentedSo $.extend() doesn't create a property if it doesn't exist on an object already.
I needed to add this:
Comment #5
jessebeach commentedEs funktioniert.