Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2010-11-26 14:31:38

sanktusm
New member
Registered: 2009-07-21
Posts: 3

Adjust dialogs width für CreateLinks

I Like to adjust the size of the dialog to create normal links. I found a code in the file dialog.js to adjust the width of the dialog. But if i change it, it hast no effect on the size of the link dialog.

Any ideas how I can adjust the width oder the link - dialog ( not the plugin Linker)


function Dialog(url, action, init) {
    if (typeof init == "undefined") {
        init = window;    // pass this window object by default
    }
    if (typeof window.showModalDialog == 'function' && !Xinha.is_webkit) // webkit easily looses the selection with window.showModalDialog
    {
        Dialog._return = function(retVal) {
            if (typeof action == 'function') action (retVal);
        }
        var r = window.showModalDialog(url, init, "dialogheight=300;dialogwidth=750;resizable=yes");
    }
    else
    {
        Dialog._geckoOpenModal(url, action, init);
    }
}

Offline

Board footer

Powered by FluxBB