From a0e0873fd853804f65a61aed67a4eb3fd9cfc5da Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Mon, 27 Jul 2020 09:27:40 +0200 Subject: [PATCH] fix: modal positionning Signed-off-by: Thierry Bugier --- js/scripts.js.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();