Firefox loading the window.opener address in the child instead of the parent

360 Views Asked by At

I have an uploader which opens in a separate window from a file manager. After the upload completes the page reloads and the upload was a success the server returns the html

<html>
<body>
    <script>
        window.opener.location.reload(); 
        self.close;
    </script>
</body>
</html>

This is intended to refresh the file manager. It works in IE 8 and 9, but in Firefox the child appears to load the parent window's address instead of the parent reloading.

0

There are 0 best solutions below