Fix thickbox for IE6 in wpeditimage

git-svn-id: http://svn.automattic.com/wordpress/trunk@9730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2008-11-17 05:51:59 +00:00
parent 904df4372e
commit 28af5e2493
2 changed files with 9 additions and 3 deletions
wp-includes
js/tinymce/plugins/wpeditimage
script-loader.php

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' );