Agaric Design Collective

Drupal's collapsed fieldset labels disappeared in Firefox due to unclosed tag

By Benjamin Melançon
on 18 Nov
0 comments

Key words and phrases

zen drupal collapsible not showing node edit collapsible javascript not expanding drupal collapsible form fields broken collapsed jquery doesn't expand drupal collapsed fields labels invisible cannot click on legend to uncollapse fieldset

Tags

Description

If you have problems with collapsible fieldsets staying permanently collapsed because you cannot click on their titles (because the titles do not show), I frankly have no idea what the odds are that your problem is the same as mine.

But here is what my problem was:

My theme had an opening strong tag with no corresponding closing element (dynamically inserted into page.tpl.php from template.php to somewhat semantically style the site name). Firefox responded to this by throwing opening and closing strong tags all over the document, actually adding them to the HTML.

So, yeah, fixing the broken HTML fixed the broken javascript fieldsets. I didn't say it was an exciting story...

 

Post new comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <h1> <h2> <h3> <h4> <h5> <h6> <small> <pre> <strike> <sub> <sup> <kbd> <s>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.