Enabling Nice Primary Menus disables fieldset expansion

McJax - April 24, 2008 - 15:00
Project:Nice Primary Menus
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

When I enable Nice Primary Menus on my site, I found that when I then go to edit content I don't get the option to expand the fieldset e.g. Comment settings, Menu settings etc.

The site use the Igniter theme (minimal CSS).

Tried on various browsers, but no difference.
Thanks for looking !
Jackie

#1

squeakita - April 24, 2008 - 15:05

Just to let you know
I experienced the same issue last night. My only option, unfortunately was to disable the module.

#2

DGaryGrady - May 19, 2008 - 21:33

I reproduced the problem with a new, pretty bare-bones toy site running locally on a Mac with MAMP. Simply turning on Nice Primary Menus causes fieldset headers to act like plain text, without an expansion triangle to the left and with no response to mouse clicks. This holds true under both Firefox and Safari and the plain-vanilla Garland theme. (For the record I didn't edit the theme or any menus.)

Turning off Javascript in the browser and reloading the page effectively expands all the fieldsets, so this may be a temporary work-around for some purposes. A search of the Drupal site turns up numerous problems with fieldset expansion so this may be a symptom of a broader problem.

#3

tymoski - March 28, 2009 - 21:40

I accidentally fixed this problem trying to solve a separate "page loaded with errors" warning in IE ("object expected / code 0").

I noticed in FF's error console that the error was "'active_mid' not defined". I add the following line near the top of "nice_primary_menus.js" and it fixed both problems:

function active_mid() {}

 
 

Drupal is a registered trademark of Dries Buytaert.