Is there a workaround for the broken closeOnEscape in jQuery UI Dialog

Posted by Darryl Hein on Stack Overflow See other posts from Stack Overflow or by Darryl Hein
Published on 2009-02-03T00:03:10Z Indexed on 2010/06/14 1:12 UTC
Read the original article Hit count: 263

Filed under:
|

It looks like there is a bug in jQuery UI Dialog where there closeOnEscape doesn't work properly, such that escape will still close the dialog. One possible solution is to unbind the keydown on the overlay, but this doesn't seem to work.

Is there another solution that works?

Here is the link for bug and fix for 1.6, but 1.5.3 is still broken: http://dev.jqueryui.com/ticket/3253

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-ui