Fix thickbox for IE6 in wpeditimage

git-svn-id: https://develop.svn.wordpress.org/trunk@9730 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2008-11-17 05:51:59 +00:00
parent 8b64a15a90
commit 91a862b1a2
2 changed files with 9 additions and 3 deletions

View File

@ -17,12 +17,18 @@
tb_show('', url + '/editimage.html?ver=321&TB_iframe=true');
tinymce.DOM.setStyles('TB_window', {
'top':'20px',
'marginTop':'0',
'width':( W - 50 )+'px',
'height':( H - 45 )+'px',
'margin-left':'-'+parseInt((( W - 50 ) / 2),10) + 'px'
});
if ( ! tinymce.isIE6 ) {
tinymce.DOM.setStyles('TB_window', {
'top':'20px',
'marginTop':'0'
});
}
tinymce.DOM.setStyles('TB_iframeContent', {
'width':( W - 50 )+'px',
'height':( H - 75 )+'px'

View File

@ -61,7 +61,7 @@ function wp_default_scripts( &$scripts ) {
// Modify this version when tinyMCE plugins are changed.
function mce_version() {
return '20081113';
return '20081116';
}
add_filter( 'tiny_mce_version', 'mce_version' );