Bug Tracker

Modify

Ticket #497 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

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

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

Description

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

comment:1 Changed 6 years ago by anonymous

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

comment:2 Changed 6 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.

Thanks,
Chad

comment:3 Changed 6 years ago by john

  • Owner changed from john to stefan
  • Component changed from fx to interface

comment:4 Changed 6 years ago by quang@…

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 6 years ago by stefan

  • Status changed from new to closed
  • Resolution set to fixed

comment:6 Changed 6 years ago by Sullo <sullo

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

$.setAuto = function () {};

It seems to work well.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.