Ok so I originally had jquery update installed and had it at the default 1.5 (mainly becuase I didn't know you could configure it yet).

This made navbar unusable as it broken every link on every page. I uninstalled jquery update and it fixed the problem. Site was back at the default jQuery 1.4.

This had the unintended consequence of rendering the Module List module unusable as it requires a newer version of jQuery. So as a test, I installed jQuery update again and Module List works once again. I then noticed I couldn't update the version of jQuery in jQuery Update because all my links are broken again because of navbar.

Now, I cannot even uninstall any modules to get back to a workable state and nothing works. Every link acts as though the href is "/". I can right click and open tabs in new tabs or go direct to the pages via URL, but that doesn't help since you can't right click a submit input.

So what did I do to solve the problem? Well I triggered the form on the jQuery update module config page via my console using an easy .submit(). This let me set the jQuery version at 1.8. This brought back functionality to the links, however, I'm sure there are many users out there who don't even know what a console is, let alone what to do to trigger a form submit. I'm no guru or anything, but there are people who know far less.

The state of my site is that functionality has returned, however, the overlay is not functioning with this module, nor is the inner-navbar-trays visible on the site outside of the administration pages. I.e. when using the site at example.com/ I get only the top bar (Home, Menu, Shortcuts, Site) and none of them work. They won't launch the submenu underneathe. When at example.com/admin/ I get both bars and working right. This is the next problem I'm going to tackle, but right now, any assistance is appreciated and you should note these errors for other users.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

RKS’s picture

So it is still there. It just isn't getting the same styles as it is on the other pages. I.e. it's hidden behind the parent menu.

I can fix this with my own stylesheet, but the ideal fix is to find out why this is happening and how to fix it in the module. Still investigating...

EDIT: It isn't getting top: 50px; Adding it in the inspector shows this is the case. You can select the menu items, and move the #navbar-tray to the vertical list, which at least lets you see the navbar again. This does not add the top: 50px, so the "Dashboard" option is still hidden under the parent in vertical display.

EDIT: Is the Dashboard option supposed to be there? In the navbar-icons.css, there is no class navbar-icon-dashboard, despite this being on the element in the HTML. Also, the screenshot on your projects homepage does not show a Dashboard menu item...strange.

tamlin’s picture

I think I've encountered the same issue but /misc/jquerey.js says it is version 1.4.4

/*!
* jQuery JavaScript Library v1.4.4
* http://jquery.com/
*

Repeatable: Always
Steps to repeat:
1. Install Drupal Commons 7
2. Grant "Use the administration navbar" Permission to an admin user.
3. Visit node/add/post as this admin user

Expected Results:
There should be an expanding menu on the right with 'active' (link) headings; 'Topics', 'Menu Settings' etc. clicking on these links expands the relevant section of the menu to reveal the actual setting.

Actual Results:
The menu does not expand. All the links are simply text without the <a></a> tags

I'm using Drupal Commons 7 and I did not install this module so will need to let them know too. For now I'll just disable it.

jessebeach’s picture

Assigned: Unassigned » jessebeach

Thank you for the report. I'm looking into it.

jessebeach’s picture

Status: Active » Closed (cannot reproduce)

I've tested the latest 7.x-1.x branch (7773290aa04d7a04f9dcd3d35b994a87e1dff9ac), with the latest branch of jquery_update 7.x-2.x (65eecb0f1fc69cf6831a66440f72e33a1effb1f3). I tested each version of jQuery provided by the module from 1.5 to 1.10.

I've not encountered any JavaScript errors. The work to backport the D8 Toolbar code to this module probably removed the offending code.