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.

Comments

gábor hojtsy’s picture

Status: Active » Closed (fixed)

Well, we need actual JS error messages to fix issues. The reason no other JS runs after the l10n_client JS on your machine would be that it encountered an error. We should figure out what happens there. Looks like you've found a workaround to use and others did not confirm finding this issue, so closing.

dwangba’s picture

Version: 6.x-1.7 » 7.x-1.0

I am reopening this old issue because I was experiencing the same problem on a fresh install of Drupal 7.2 with both the stable and the dev release of l10n_client (awesome module by the way!).

The JavaScript error is "$.cookie is not a function" in sites/all/modules/l10n_client/l10n_client.js (line 98)

I simply enabled "Aggregate JavaScript files" in Config>Performance and everything seems to be working perfectly.
Hope this can help anyone.