A bug with including jquery.tipTip.js when using both JQuery and Prototype

Pavan's Avatar

Pavan

25 Jan, 2011 06:34 AM

Hello,

I just ran into an issue where we were including the the tipTip.js along with jQuery and Prototype and $ referring to Prototype.


We are currently in the process of migrating slowly to jQuery and until we finish we want the current JS to work.

Given this, I am attaching a patch which will help fix this issue. I basically moved the ready call back which hooks up .has_tip into the namespace. This should fix the issue.

Please use the patch -p1 < jQuery_tipTip_fix.js to apply the patch.

Apart from that good work!

-Pavan

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • jQuery_tipTip_fix.patch 531 Bytes

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac