show/hide text not toggling

dami - May 5, 2008 - 16:35
Project:Table of Contents
Version:5.x-2.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

The text appended after TOC title is always 'hide', doesn't toggles to 'show' when TOC slides up.
It seems using html() instead of text() function in js works for me. I am no expert on jquery stuff, is it because jquery api changed?

#1

deviantintegral - May 11, 2008 - 21:22
Status:active» postponed (maintainer needs more info)

I'm not sure, what browsers have you tested on? Do you get any errors in your javascript console?

I don't think the jquery API should have changed, I think it's kept stable by the Drupal developers between releases.

--Andrew

#2

dami - May 12, 2008 - 00:44

I am using FF2.0, here is the error I got in firebug console:

r has no properties
http://example.com/misc/jquery.js
Line 2

#3

deviantintegral - May 12, 2008 - 00:47
Status:postponed (maintainer needs more info)» fixed

Actually, i was having this problem too but never noticed it.

Your fix seems to be working fine for me, I'll be committing it to -dev momentarily.

--Andrew

#4

Anonymous (not verified) - May 26, 2008 - 00:51
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.