I ran in to a similar issue. I have the following code for an AJAX handler:
function handle() {
if (req.readyState == 4) {
// only if "OK"
if (req.status == 200) {
var myDiv = document.getElementById('list');
myDiv.innerHTML = req.responseText;
if (editWindow) {
editWindow.close();
}
}
else {
alert("There was a problem retrieving the XML data:\n" + req.statusText);
}
}
}
I know I'm using the lazy-man's way (innerHTML), but it's simple for what I'm doing. Anyway, what's going on is the user clicks an item and the page opens another window (window.open()). On the new window, the user edits the info for the item clicked. Upon submit, the new window is sent this code:
<script>
window.opener.refreshItems();
</script>";
which calls the AJAX function to refresh the list on the original page. The handler (above) is set to close the editItem window if it exists. In IE, the window closes right away. In FF, the window closes when I move the mouse over the window (not the title bar or toolbars, but the pane that displays the html).
I think it's weird that it does this, but that's what I'm getting.