diff --git a/main/inc/lib/fckeditor/editor/plugins/ImageManager/assets/manager_original.css b/main/inc/lib/fckeditor/editor/plugins/ImageManager/assets/manager_original.css deleted file mode 100644 index c09857bb04..0000000000 --- a/main/inc/lib/fckeditor/editor/plugins/ImageManager/assets/manager_original.css +++ /dev/null @@ -1,19 +0,0 @@ -html, body { background-color: ButtonFace; color: ButtonText; font: 11px Tahoma,Verdana,sans-serif; margin: 0; padding: 0;} -body { padding: 5px; } -fieldset { padding: 0;} -.title { background-color: #ddf; color: #000; font-weight: bold; font-size: 120%; padding: 3px 10px; margin-bottom: 10px; border-bottom: 1px solid black; letter-spacing: 2px;} -form { padding: 0px; margin: 0 auto; width: 550px;} -.dirWidth { width: 70%; } -a { padding: 5px; border: 1px solid ButtonFace; } -a img { border: 0; } -a:hover { border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; } -.dirs { padding: 1em; } -.imageFrame { width: 525px; height: 145px; margin: 0 auto; margin-top: 1em; background-color: White;} -.smallWidth{ width: 4em; } -.largelWidth{ width: 22em; } -.inputTable { margin: 1em auto; } -select, input, button { font: 11px Tahoma,Verdana,sans-serif; } -.buttons { width: 70px; text-align: center; } -.clearboth{ clear: both; } -#messages { position: relative; left: 175px; top: 115px; background-color: white; width:200px; float: left; margin-top: -52px; border: 1px solid #ccc; text-align: center; padding: 15px; } -#message { font-size: 15px; font-weight: bold; color: #69c; } diff --git a/main/inc/lib/fckeditor/editor/plugins/ImageManager/fckplugin.js b/main/inc/lib/fckeditor/editor/plugins/ImageManager/fckplugin.js index acc21207f3..5653bcba4b 100644 --- a/main/inc/lib/fckeditor/editor/plugins/ImageManager/fckplugin.js +++ b/main/inc/lib/fckeditor/editor/plugins/ImageManager/fckplugin.js @@ -209,7 +209,7 @@ ImageManager.prototype.insert = function(outparam) return; //}, outparam); - }, outparam, 'FCKDialog_ImageManager', 'Insert Image', 850, 500 ); + }, outparam, 'FCKDialog_ImageManager', 'Insert Image', 850, 535 ); } }; diff --git a/main/inc/lib/fckeditor/editor/plugins/ImageManager/manager.php b/main/inc/lib/fckeditor/editor/plugins/ImageManager/manager.php index d73c4e43f9..2bd80b7d93 100644 --- a/main/inc/lib/fckeditor/editor/plugins/ImageManager/manager.php +++ b/main/inc/lib/fckeditor/editor/plugins/ImageManager/manager.php @@ -50,7 +50,7 @@ var _editor_lang = 'en' ; if ( window.opener ) { - window.resizeTo( 850, 500 ) ; + window.resizeTo( 850, 535 ) ; if ( window.opener.ImageManager && window.opener.ImageManager.I18N ) { @@ -64,6 +64,8 @@ } else if ( window.parent ) { + window.parent.SetAutoSize( true ) ; + _editor_lang = oEditor._editor_lang ; if ( oEditor.ImageManager && oEditor.ImageManager.I18N ) { diff --git a/main/inc/lib/fckeditor/editor/plugins/audio/fck_audio_playback.html b/main/inc/lib/fckeditor/editor/plugins/audio/fck_audio_playback.html index 257270a333..fced334256 100644 --- a/main/inc/lib/fckeditor/editor/plugins/audio/fck_audio_playback.html +++ b/main/inc/lib/fckeditor/editor/plugins/audio/fck_audio_playback.html @@ -45,27 +45,27 @@ window.onload = function() window.parent.SetPreviewElement( document.body ) ; } -// This is a patch for the "__flash__removeCallback" bug, see FS#4378. -function ClearPreviewElement() -{ - if ( ( navigator.userAgent.toLowerCase().indexOf( 'msie' ) != -1 ) && ( navigator.userAgent.toLowerCase().indexOf( 'opera' ) == -1 ) ) - { - if ( document.body.firstChild ) - { - try - { - while ( document.body.firstChild ) - { - document.body.removeChild( document.body.firstChild ) ; - } - } - catch ( ex ) - { - } - } - } -} ; +// This is a patch for the "__flash__removeCallback" bug, see FS#4378. +function ClearPreviewElement() +{ + if ( ( navigator.userAgent.toLowerCase().indexOf( 'msie' ) != -1 ) && ( navigator.userAgent.toLowerCase().indexOf( 'opera' ) == -1 ) ) + { + if ( document.body.firstChild ) + { + try + { + while ( document.body.firstChild ) + { + document.body.removeChild( document.body.firstChild ) ; + } + } + catch ( ex ) + { + } + } + } +} ; - +