Hi folks, I have found two bugs of jquery in 1.2.3 and they even are unpatched in 1.2.5. Furthermore there is some function missing in the compat-1.1 plugin that causes some errors in modules which need jquery 1.1 compatibility (like hierarchical_select).





The patch of jquery-1.2.3.js is:

1764c1764
<                               if ( typeof fn == "string" )
---
>                               if ( typeof fn == "string" || typeof fn  == "undefined" )
3242c3242,3243
<                       this.options.curAnim[ this.prop ] = true;
---
>                       if (this.options.curAnim)
>                               this.options.curAnim[ this.prop ] = true;





The patch of jquery-1.2.5.js is:

1762c1762
<                               if ( typeof fn == "string" )
---
>                               if ( typeof fn == "string" || typeof fn  == "undefined" )
3277c3277,3278
<                       this.options.curAnim[ this.prop ] = true;
---
>                       if (this.options.curAnim)
>                               this.options.curAnim[ this.prop ] = true;





the compat-1.1.js

50a
        jQuery.dequeue = function(){
                var ret = jQuery.fn.dequeue( jQuery, arguments );

                return ret;
        };




You can find a complete changed and updated package of jquery_update module including (jquery-1.2.5) attached. Please figure out if you still need the Fix-collapse.js, if you do, you have get it from orginal module, because I have made an update to my misc/collapse.js

line 5, original misc/collapse.js:
    content.slideDown(300, {

should be changed to:
    content.slideDown( {
  	    duration: 300,




Comments

WorldFallz’s picture

There's no attachment... any chance you could attach your package and Ill test it out....

thanks!

sun’s picture

Status: Patch (to be ported) » Closed (duplicate)

Marking as duplicate of #156221: Upgrade to JQuery 1.2.6