bueltge / wordpress-admin-style

This plugin reference elements from wp-admin in an overview with the necessary markup and CSS classes to help you to develop WordPress compliant.
http://wpengineer.com/2226/new-plugin-to-style-your-plugin-on-wordpress-admin-with-default-styles/
GNU General Public License v2.0
960 stars 124 forks source link

jQuery Dialog Issue with WordPress 4.1.1 #25

Closed varunsridharan closed 9 years ago

varunsridharan commented 9 years ago

i have download installed in my wp and went to wp-admin-jquery-ui and clicked _Open Dialog_

its not opening correctly. check the screenshot

popup

madvik commented 9 years ago

The same error for me in an other plugin. I think it's a problem between WordPress and jQuery. I correct with changing jquery settings.

varunsridharan commented 9 years ago

@madvik Could please share what you did ?

madvik commented 9 years ago

Turn modal setting to false ( modal:false) :

jQuery( '#revisionDialog' ).dialog( {
    title: 'modal window',
    width: dWidth,
    maxWidth: dWidth,
    heigth: dHeight,
    maxHeight: dHeight,
    show: false,
    hide: false,
    resizable: true,
    closeOnEscape: true,
    modal: false,
    buttons: { 'Ok': function() {
        jQuery( this ).dialog( 'close' );
    }}
});
bueltge commented 9 years ago

Thanks for discussion here and help to clear the topic.

madvik commented 9 years ago

You're welcome.