WordPress.org

Make WordPress Core

Changeset 7861


Ignore:
Timestamp:
04/30/2008 08:12:54 PM (10 years ago)
Author:
ryan
Message:

send_to_editor fix for FF. Props azaozz. fixes #6864 for 2.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/wp-admin/js/media-upload.js

    r7172 r7861  
    11// send html to the post editor
    22function send_to_editor(h) {
    3     var win = window.opener ? window.opener : window.dialogArguments;
    4     if ( !win )
    5         win = top;
     3    var win = window.dialogArguments || opener || parent || top;
     4
    65    tinyMCE = win.tinyMCE;
    76    if ( typeof tinyMCE != 'undefined' && ( ed = tinyMCE.getInstanceById('content') ) && !ed.isHidden() ) {
Note: See TracChangeset for help on using the changeset viewer.