How To Prevent expanding JQuery BlockUI Dialog

Posted by Abu Hamzah on Stack Overflow See other posts from Stack Overflow or by Abu Hamzah
Published on 2010-05-18T02:59:57Z Indexed on 2010/05/18 3:10 UTC
Read the original article Hit count: 534

Filed under:

how do i prevent expanding the jquery blockui dialog box? i thought draggable: false? but that does not work.

// this is essentially the default dialog if not overriden
    initDialog: function(e) {
        // modify timeout to do jquery dialog
        if (typeof jQuery.ui != 'undefined') {
            var _session = this;
            $("#" + this._clientId).dialog({
                autoOpen: false,
                bgiframe: true, draggable: false,
                modal: true,
                buttons: {
                    Ok: function() {
                        $(this).dialog('close');
                        CallServer();
                            }
                }
            });
        }

© Stack Overflow or respective owner

Related posts about jQuery