Skip to main content

Bug Tracker

Side navigation

#3360 closed bug (invalid)

Opened September 11, 2008 11:18AM UTC

Closed September 11, 2008 02:26PM UTC

jQuery UI Dialog creates JS-error in IE

Reported by: objx Owned by: flesler
Priority: major Milestone: 1.3
Component: unfiled Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:
Description

Whenever I try to create a dialog in IE7 I get a javascript error message.

I investigated the problem and located it to the function called "size()".

In ui.dialog.js, this is the function called "size()":

The function is trying to retrieve a numeric value of the margins.

(variables called "tbMargin" and "lrMargin").

In my IE this results in a NaN.

I solved the issue by adding the following lines below:

if(isNaN(tbMargin)){tbMargin=0;}

if(isNaN(lrMargin)){lrMargin=0;}

Attachments (0)
Change History (1)

Changed September 11, 2008 02:26PM UTC by flesler comment:1

resolution: → invalid
status: newclosed

Please repost this to the UI Bug Tracker.