Skip to content
Snippets Groups Projects
Commit 56e8d419 authored by Lily Yan's avatar Lily Yan
Browse files

Merge branch 'feature/ISTWCMS-5975-ebremner-ckeditor-fixes' into '1.0.x'

Feature/istwcms 5975 ebremner ckeditor fixes

See merge request !65
parents c9952f03 4ca12d17
No related branches found
No related tags found
1 merge request!65Feature/istwcms 5975 ebremner ckeditor fixes
/**
* Ckeditor Modal
*/
(function ($, Drupal) {
if ($.ui.dialog) {
orig_allowInteraction = $.ui.dialog.prototype._allowInteraction;
$.ui.dialog.prototype._allowInteraction = function (event) {
if ($(event.target).closest('.cke_dialog').length) {
return true;
}
return orig_allowInteraction.apply(this, arguments);
};
}
})(jQuery, Drupal);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment