Skip to content

dialogextend doesn't reset #23

@posthy

Description

@posthy

When i destroy the dialog and reopen it, the extended buttons are not present. Check out the next code:
<button id="open">Open</button>
<div id="window"></div>
<script>

$('#open').click(function(){
        $("#window").dialog({
            resizable: false,
            width: 340,
            maxHeight: '600px',
            open: function() {
                $.get('http://google.com', '', function(response) {
                    $('#window').html(response);
                }, 'html');
            },
            close: function() {
                $(this).dialog("destroy");
            }
        }).dialogExtend({collapsable: true});
});

</script>
The collapse button appears only at the first dialog open.
Using jqeury 2.1.3, jquery ui 1.11.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions