http://docs.jquery.com/Release:jQuery_1.3#Changes

"The '@' in [@attr] has been removed. Deprecated since 1.2 this old syntax no longer works. Simply remove the @ to upgrade."

To make jtooltips / your Drupal site work correctly with jquery_update and this module activated, look for S(\'[@d]\') in the file jtooltips/js/jquery.tooltip.pack.js and take out the @ . The module will work as intended once you take out the @. This is critical if you're using jQuery 1.3.

CommentFileSizeAuthor
#1 jquery.tooltip.pack_.js_.txt2.93 KBroderik

Comments

roderik’s picture

Status: Active » Needs review
StatusFileSize
new2.93 KB

Thanks.

Since Drupal 6.x ships jQuery 1.2.x, and this syntax is already deprecated in 1.2.x, the change should really be made in the module.
I just tested using jQuery 1.2 and the changed file, and things still work.

Unfortunately, the latest version from bassistance.de does not seem to be a drop-in replacement. It didn't show my existing tooltips anymore.

Anyway, here's the edited file (without the '@') for who'd rather download instead of use an editor.

giorgosk’s picture

module needs to be updated for jquery update
thanks for tip

Anonymous’s picture

Is anyone planning to update this module? It seems like a simple fix, unless this modification causes problems in Jquery 1.2, or something. I just spent an hour trying to figure out why the tooltips weren't working, forgetting that I have to hack the JS file for Jquery 1.3. Thanks!