What's the new method for setting defaults for jQuery UI's dialog?

Posted by Darryl Hein on Stack Overflow See other posts from Stack Overflow or by Darryl Hein
Published on 2010-03-21T07:10:59Z Indexed on 2010/03/21 7:21 UTC
Read the original article Hit count: 319

Filed under:
|

I've been using the following in UI 1.7, but it doesn't work in 1.8 any more:

$.extend($.ui.dialog.defaults, {
    modal: true,
    bgiframe: true,
    autoOpen: false,
    width: 500,
    height: 400,
    minWidth: 500,
    minHeight: 400
});

Is there a new method?

© Stack Overflow or respective owner

Related posts about jquery-ui

Related posts about jquery-dialog