If you open a window like:
window.open (\"url\",\"winName\",\"location=0,width=300,height=214\");
If winName
is already open i
I had the same problem, have spent a lot of time to find a solution, finally it works by this:
var singleWindow;
function openNewWindow(){
if(singleWindow){
singleWindow.close();
}
singleWindow = window.open ("url","winName","location=0,width=300,height=214");
}
Hope this help you !