Commit 0e6d5064 authored by alexpott's avatar alexpott
Browse files

Issue #2499035 by droplet: When in CKEditor maximized mode, Insert Image dialog is not working

parent 3b62b84f
......@@ -230,6 +230,11 @@
// Moves the dialog to the top of the CKEDITOR stack.
$(window).on('dialogcreate', function (e, dialog, $element, settings) {
$('.editor-dialog').css("zIndex", CKEDITOR.config.baseFloatZIndex + 1);
// Respond to new dialogs that are opened by CKEditor, closing the AJAX loader.
$(window).on('dialog:beforecreate', function (e, dialog, $element, settings) {
$('.ckeditor-dialog-loading').animate({top: '-40px'}, function () {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment