Bug Tracker

Modify

Ticket #2831 (closed bug: invalid)

Opened 6 years ago

Last modified 4 years ago

event.blind.js effect will trigger script error in IE7

Reported by: cyberflohr Owned by: paul
Priority: minor Milestone: 1.2.4
Component: ui Version: 1.2.3
Keywords: Cc:
Blocking: Blocked by:

Description

I've tracked down the problem to the following lines of code within the effect.core.js script

The following lines within the createWrapper function will produce under certain circumstances NaN values for top & left.

var top = parseInt(el.css('top'), 10); if (top.constructor != Number) top = 'auto';
var left = parseInt(el.css('left'), 10); if (left.constructor != Number) left = 'auto';


fix:

var top = parseInt(el.css('top'), 10); if (isNaN(top)) top = 'auto';
var left = parseInt(el.css('left'), 10); if (isNaN(left)) left = 'auto';

Change History

comment:1 Changed 4 years ago by dmethvin

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

This should be filed in the UI bug tracker if still relevant.

 http://dev.jqueryui.com

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.