"Additional options" field javascript does not work with newer versions of jquery

Steve Dondley - September 19, 2007 - 03:24
Project:Leech
Version:5.x-1.9
Component:leech
Category:bug report
Priority:minor
Assigned:Unassigned
Status:needs review
Description

I have the message effects module installed which requires you to install an updated version of jquery. See http://drupal.org/project/messagefx for more details about this. Other javascript modules also require a different version of jquery.

The newer version of jquery has a different api for the addClass and removeClass functions. This problem prevented the "Additional options" field from automatically expanding. This patch corrects for that.

AttachmentSize
leech_jquery.patch1.41 KB

#1

alex_b - September 24, 2007 - 12:26

Thanks Steve. Is this patch backwards compatible to the previous jQuery version? Does it require jQuery update module to be installed?

#2

Steve Dondley - September 25, 2007 - 00:04

Sorry, I don't know. I did not test for backwards compatibility. If I get a chance I will.

 
 

Drupal is a registered trademark of Dries Buytaert.