Bug Tracker

Opened 15 years ago

Closed 15 years ago

#3360 closed bug (invalid)

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;}

Change History (1)

comment:1 Changed 15 years ago by flesler

Resolution: invalid
Status: newclosed

Please repost this to the UI Bug Tracker.

Note: See TracTickets for help on using tickets.