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:
parent
904df4372e
commit
28af5e2493
wp-includes
|
@ -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'
|
||||
|
|
|
@ -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' );
|
||||
|
||||
|
|
Loading…
Reference in New Issue