Merge pull request #91 from j-be/DELTASPIKE-1382

DELTASPIKE-1382: Use window.location.replace() for WindowId redirect.
diff --git a/deltaspike/modules/jsf/impl/src/main/resources/static/windowhandler.html b/deltaspike/modules/jsf/impl/src/main/resources/static/windowhandler.html
index 806c7dc..6cc68ac 100644
--- a/deltaspike/modules/jsf/impl/src/main/resources/static/windowhandler.html
+++ b/deltaspike/modules/jsf/impl/src/main/resources/static/windowhandler.html
@@ -181,7 +181,7 @@
 
                 dswh.utils.log('redirect to ' + redirectUrl);
 
-                window.location = redirectUrl;
+                window.location.replace(redirectUrl);
             };
             //]]>
         </script>