Ticket #22446: 22446-ie789-insert2.patch
File 22446-ie789-insert2.patch, 701 bytes (added by , 12 years ago) |
---|
-
wp-includes/js/media-editor.js
503 503 504 504 workflow = wp.media.editor.get( id ); 505 505 506 // Save a bookmark of the caret position, needed for IE 507 if ( typeof(tinymce) != 'undefined' && tinymce.activeEditor ) { 508 if ( tinymce.isIE && ! tinymce.activeEditor.isHidden() ) 509 tinymce.activeEditor.windowManager.insertimagebookmark = tinymce.activeEditor.selection.getBookmark(); 510 } 511 506 512 // If the workflow exists, open it. 507 513 // Initialize the editor's workflow if we haven't yet. 508 514 if ( workflow )