Javascript error with jquery_update and l10n_client

wishcow - January 30, 2008 - 13:43
Project:Localization client
Version:5.x-1.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active (needs more info)
Description

this javascript error jumps up on every page after installing the module (and it doesn't work):

ret[ret.length - 1] has no properties

in jquery.js.

I am using jquery update module, so maybe something in l10n_client.js isn't working with jquery version 1.1.2?

#1

Gábor Hojtsy - January 31, 2008 - 22:47
Title:javascript error after installing localization client» Javascript error with jquery_update and l10n_client
Status:active» active (needs more info)

Hm, well it was backported for the jQuery used in Drupal 5 from Drupal 6. What's you suggestion, should we ship with a "jQuery update" compatible version of the l10n_client JS file as well? Does not sound a too good idea to me.

#2

Heine - March 25, 2008 - 14:36

Upgrading the jquery used with jquery_update tojQuery 1.1.3 (http://docs.jquery.com/Downloading_jQuery) solved this issue without damaging collapsible fieldsets, tableselects, autocomplete and lots of custom code.

#3

Gábor Hojtsy - March 25, 2008 - 18:34
Project:Localization client» jQuery Update
Version:5.x-1.x-dev» 5.x-1.x-dev
Status:active (needs more info)» active

Sounds good. That might be a good idea to include in the jquery_update module then? Moving issue to jQuery Update module.

#4

wmostrey - April 26, 2008 - 22:10

It would be great if jquery_update could come with the 1.1.3 version. We were experiencing unresponsive script warnings using jquery_update with l10n_client and the 1.1.2 version of jquery.js. Switching to 1.1.3 resolved this issue and a quick look around didn't show any issues with other scripts such as swfobject or TinyMCE for instance. Since this has been tested and confirmed by Heine and myself this is RTBC as far as I can see.

#5

sun - June 7, 2008 - 21:40
Project:jQuery Update» Localization client
Version:5.x-1.x-dev» 5.x-1.x-dev
Component:Code» User interface
Category:support request» bug report

jquery_update v2.x ships with jQuery 1.2.6 now and seems to be pretty stable so far.

I don't think that there will be another update to the 1.x branch. So, moving back to l10n_client queue.

#6

Gábor Hojtsy - June 8, 2008 - 09:24
Status:active» active (needs more info)

Heine's report above suggests that the updated fixed jQuery update code fixed this issue. Right? So what else is to do on l10n_client?

#7

yhager - June 23, 2008 - 08:21

also works with jquery-1.1.4.

 
 

Drupal is a registered trademark of Dries Buytaert.