After pressing the button to insert an image nothing happens. There was only a white window which was never closed.
I've found out the following problem in file "/wp-admin/js/media-upload.js":
// send html to the post editor
function send_to_editor(h) {
var win = window.opener ? window.opener : window.dialogArguments;
if ( !win )
win = top;
...
“win” points to “/index.php” - but I think it should point to “/wp-admin/post-new.php”. So I've changed the code:
// send html to the post editor
function send_to_editor(h) {
/*
var win = window.opener ? window.opener : window.dialogArguments;
if ( !win )
win = top;
*/
var win = parent;
...
After this changes it works fine in Firefox! I don't know why it works with the original code in Opera and not in Firefox. With the modified code it works in both browsers!