From: Coleman Watts Date: Thu, 21 Aug 2014 20:44:25 +0000 (+0100) Subject: CRM-15164 - Fix to allow CKEditor controls to function correctly in dialogs X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a7c4a5a89260c46581299de1ea3381c32ba31b78;p=civicrm-core.git CRM-15164 - Fix to allow CKEditor controls to function correctly in dialogs --- diff --git a/js/Common.js b/js/Common.js index 395e61ccfb..9d4496d724 100644 --- a/js/Common.js +++ b/js/Common.js @@ -207,7 +207,7 @@ CRM.strings = CRM.strings || {}; // Workaround for https://github.com/ivaynberg/select2/issues/1246 $.ui.dialog.prototype._allowInteraction = function(e) { - return !!$(e.target).closest('.ui-dialog, .ui-datepicker, .select2-drop').length; + return !!$(e.target).closest('.ui-dialog, .ui-datepicker, .select2-drop, .cke_dialog').length; }; /**