Skip to main content

Search and Top Navigation

#2831 closed bug (fixed)

Opened May 09, 2008 09:41AM UTC

Closed June 26, 2008 09:39PM UTC

Last modified February 26, 2009 12:14PM UTC

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

Reported by: cyberflohr Owned by:
Priority: minor Milestone: 1.5
Component: ui.effects.* (individual effect) Version: 1.5b4
Keywords: Cc:
Blocked by: Blocking:
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';

Attachments (0)
Change History (4)

Changed May 24, 2008 03:39AM UTC by comment:1

milestone: 1.2.4

Milestone 1.2.4 deleted

Changed May 24, 2008 07:25PM UTC by paul comment:2

component: ui.coreeffects.* (individual effect)
owner: paul
version: 1.2.31.5b4

Changed June 26, 2008 09:39PM UTC by aaronchi comment:3

resolution: → fixed
status: newclosed

[363]

Changed February 26, 2009 12:14PM UTC by paul comment:4

milestone: → 1.5