diff --git a/js/scripts.js.php b/js/scripts.js.php index d6058f5a1..0257bf3a5 100644 --- a/js/scripts.js.php +++ b/js/scripts.js.php @@ -80,7 +80,7 @@ function(event) { autoOpen: false, height: "auto", modal: true, - position: ['center', 50], + position: {my: 'center'}, open: function( event, ui ) { //remove existing tinymce when reopen modal (without this, tinymce don't load on 2nd opening of dialog) modalWindow.find('.mce-container').remove();