Ticket #7561: 7561.patch
File 7561.patch, 829 bytes (added by , 12 years ago) |
---|
-
_source/plugins/selection/plugin.js
567 567 cache : {} 568 568 }; 569 569 570 /** 571 * IE BUG: The selection's document may be a different document than the 572 * editor document. Return null if that is the case. 573 */ 570 // IE selection relies on editing host focus. 574 571 if ( CKEDITOR.env.ie ) 575 572 { 576 573 var range = this.getNative().createRange(); … … 578 575 || ( range.item && range.item(0).ownerDocument != this.document.$ ) 579 576 || ( range.parentElement && range.parentElement().ownerDocument != this.document.$ ) ) 580 577 { 581 this.isInvalid = true;578 document.getWindow().focus(); 582 579 } 583 580 } 584 581