Skip to main content

Search and Top Navigation

#5268 closed bug (duplicate)

Opened March 03, 2010 04:48PM UTC

Closed March 10, 2010 04:10PM UTC

Last modified October 11, 2012 09:15PM UTC

dialog overlay bug

Reported by: gtrmitch Owned by:
Priority: critical Milestone:
Component: ui.dialog Version: 1.8rc3
Keywords: Cc:
Blocked by: Blocking:
Description

When using the dialog plugin in jquery 1.8rc3 I get this error when I hit the dialog multiple times (like open it, esc, try opening it, etc.) sometimes it's once, sometimes its 3 times:

b("<div></div>").addClass("ui-widget-overlay") is undefined

line: 199 in custom.min.js (everything was downloaded)

This is the code:

var dialog = "<div></div>";

$(dialog).dialog({

bgiframe: true,

modal: true,

title: title,

close: function (event, ui) { $(this).remove(); if ($.isFunction(onClose)) { onClose(); } },

buttons: {

Ok: function () { $(this).dialog("close"); }

}

});

Attachments (0)
Change History (4)

Changed March 05, 2010 12:00AM UTC by RobARichardson comment:1

Yep, this is a critical for me as well. Getting this a lot.

Changed March 09, 2010 10:40PM UTC by mrecho comment:2

I've also have had this issue with every dialog that I have on my site.

The 2nd time you activate the dialog() it will work.

Changed March 10, 2010 04:10PM UTC by scottgonzalez comment:3

resolution: → duplicate
status: newclosed

Duplicate of #5228.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:4

milestone: TBD

Milestone TBD deleted