Remove @ for jQuery 1.3 support

TCRobbert - September 24, 2009 - 08:23
Project:Hovertips and Clicktips
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

It took me a while to figure out what the problem was why it was not working for me, but it appeared there is a selector in the javascript file with a reference using the @ sign which is no longer supported by jQuery 1.3.

Simply removing it is enough to get it working for both jQuery 1.2.6 (standard in drupal 6.x) and jQuery 1.3.

#1

aloyr - October 2, 2009 - 23:41

Thanks TCRobbert! I will give this a try. I have had the same issue and the solution I had was very Rube Goldbergish! It involved creating hook_preprocess_page and overriding the jquery_update module to use the old one for certain urls... not pretty, but functional.

#2

aloyr - October 2, 2009 - 23:50
Status:active» needs review

that worked out great! here is the [very simple] patch based on tcrobbert's solution.

this is my 2nd patch contribution and i am still trying to figure the process out, so forgive (and point out) any non-compliance...

AttachmentSize
091002-remove-at-from-jquery-selector.patch 377 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.