Make WordPress Core


Ignore:
Timestamp:
04/13/2006 02:57:25 AM (20 years ago)
Author:
ryan
Message:

Thwart the browser cache by versioning tinyMCE. Props to that Andy guy. fixes #2658

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/tinymce/plugins/inlinepopups/editor_plugin.js

    r3698 r3703  
    7474    pos.absLeft += Math.round((elm.firstChild.clientWidth / 2) - (width / 2));
    7575    pos.absTop += Math.round((elm.firstChild.clientHeight / 2) - (height / 2));
     76
     77    url += tinyMCE.settings['imp_version'] ? (url.indexOf('?')==-1?'?':'&') + 'ver=' + tinyMCE.settings['imp_version'] : '';
    7678
    7779    mcWindows.open(url, mcWindows.idCounter++, "modal=yes,width=" + width+ ",height=" + height + ",resizable=" + resizable + ",scrollbars=" + scrollbars + ",statusbar=" + resizable + ",left=" + pos.absLeft + ",top=" + pos.absTop);
Note: See TracChangeset for help on using the changeset viewer.