Hi there!

I'm using the Extra Voting Forms module which requires jQuery 1.2.1 http://drupal.org/node/204379 with Drupal 5.7
First it looks like that a higher version of jquery is no problem for MySite, because drag&drop works perfectly,
But then i saw that firebug is writting endless error messages:

this.options.curAnim has no properties
http://localhost/misc/jquery.js
Line 11

I don't know if this is fixable in the 5.x.2.x Version. I tried the latest 5.x.3.x Version which reports the same errors.
Would be nice...

regards
alex

Comments

alexkessler’s picture

Title: Probelms with jQuery 1.2.1 » Problems with jQuery 1.2.1
agentrickard’s picture

Status: Active » Closed (won't fix)

MySite uses jQuery Update and jQuery Interface, which are jQuery 1.1.2, and is backwards compatible with jQuery 1.0.

Any module using 1.2.x needs to provide backwards compatibility with jQuery 1.0, which is what Drupal supports.

I would be willing to commit a patch, but will not work to fix this. Current supported release is 5.x.2.19.

You should be able to wrap that section of code inside an IF:

if (this.options.curAnim) {
 ... execute code
}

For Drupal 6, MySite is moving to jQuery 1.2.x, with jQuery UI 1.5. You can test that here: http://mdxlab.com/mysite

alexkessler’s picture

A patch for 5.x.2.19 would be great, because i'm a totally php newbie.

I already saw your Drupal 6 test site. looks great and by the way you wrote a really cool module.
The 5.x.3.x multisite option is awesome.

agentrickard’s picture

This is not a PHP issue. It's a JavaScript issue. And if 1.2.1 invalidated the curAnim property, then the other module needs to provide backwards compatibility.

vacilando’s picture

Subscribing...

carlitus’s picture

Subscribing...