After looking through the source, I ended up doing this:

$(document).unbind($.ui.dialog.overlay.events);
$('.ui-widget-overlay').click(function(){ $('#dialog').dialog
('close') });

This unbinds the Dialog plugin's anti-event measures from the document
and thus allows one to bind a handler for an overlay event.

No obvious adverse affects yet!


On Mar 13, 8:12 pm, Pat <[email protected]> wrote:
> How would one unbind the anti-click measures from the UI Dialog
> modal's overlay?
>
> I'm trying to make the overlay close the dialog on-click, but it
> appears that the aforementioned feature is preventing this.
>
> Help? :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to