Changes between Version 4 and Version 5 of Ticket #12525, comment 4
- Timestamp:
- Oct 8, 2014, 9:41:58 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12525, comment 4
v4 v5 2 2 {{{ 3 3 #!js 4 5 4 $.fn.modal.Constructor.prototype.enforceFocus = function() { 6 5 var $modalElement = this.$element; … … 11 10 if ($modalElement[0] !== e.target 12 11 && !$modalElement.has(e.target).length 13 && !$parent.is("[class*='cke']") 14 && !$parent.attr('data-cke-expando')) { 12 && !($parent.is("[class*='cke']")) 13 && !$parent.attr('data-cke-expando') 14 && $parent.closest("[class*='cke']").size()==0) { 15 15 $modalElement.focus(); 16 16 } 17 17 }); 18 18 }; 19 20 21 19 }}}