Bug Tracker

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#497 closed bug (fixed)

jQuery.setAuto is not a function ifx.js line 13

Reported by: anonymous Owned by: stefan
Priority: minor Milestone:
Component: interface Version:
Keywords: Cc:
Blocked by: Blocking:


I'm getting the following error in Firefox after upgrading to JQuery 1.0.4 from 1.0.1:

Query.setAuto is not a function

ifx.js line 13

Change History (6)

comment:1 Changed 16 years ago by anonymous

Can you post a test-case to duplicate the problem?

comment:2 Changed 16 years ago by joern

setAuto was removed from jQuery core. Maybe this helps to fix it:

I just want to do a sanity check, because I've never delved into any of the
interface code (ifx.js)

I'm using Thickbox, and added some custom code to use the "BlindDown"
function on one of the animations (from the Interface plugin).  Everything
comes up fine, however when I tried to close the Thickbox the box went away,
but the opaque overlay didn't, and I got this error:

jQuery.setAuto is not a function (ifx.js - line 147)

I went into the ifx.js file and commented out the following lines:

// set its height and/or width to auto
//if ( p == 'height' || p == 'width' )
//	jQuery.setAuto( z.el, p );

Re-ran and everthing worked great.  I don't know enough about the changes in
1.0.4 to know *why* I had to do this - but I just wanted to see if it made
sense to anyone.


comment:3 Changed 16 years ago by john

Component: fxinterface
Owner: changed from john to stefan

comment:4 Changed 16 years ago by [email protected]

Comment out those lines will caused some wierd behavior to elements that has been hidden (their property somehow can't be reset)in IE, it seems to work fine in firefox

comment:5 Changed 16 years ago by stefan

Resolution: fixed
Status: newclosed

comment:6 Changed 16 years ago by Sullo <sullo

I simply add to interface.js file a line with the following:

$.setAuto = function () {};

It seems to work well.

Note: See TracTickets for help on using tickets.