window.location.href doesn’t redirect
I know this is a question much discussed but I can’t figure out why it does not work for me. This is my function: If I have the alerts uncommented or if I have Mozilla’s bugzilla open it works fine, otherwise it does not redirect to the other page. Any ideas why?