javascript bug makes collapsibles fields not work

neuronq - July 26, 2009 - 14:32
Project:Localization client
Version:6.x-1.7
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:collapsing fields, JavaScript
Description

Afte enabling this module and changing the default language from English to smth. else, all the collapsible fields remained permanently collapsed (ie "closed") with no way of clicking on them... After investgating I found the problem to potentially be much serious: because Drupal.behaviors.l10nClient() was called before Drupal.behaviors.collapsible() and some other functions from Drupal.behaviors and somehow after it no other function was called (a bug in the Localization Client module javascript most probably).

As a workaround for me I patched misc/drupal.js and here are more details: http://drupal.org/node/530614#comment-1854378 .

This bug has the potential to really mess up all the other javascript on a site using this module and posibly to create security issues, so someone please look into it.

P.S. I'm sorry if someone else has posted about this before... right now I don't have the time to search for this.

 
 

Drupal is a registered trademark of Dries Buytaert.