Checking the 'prevent this page from creating additional dialogs' box stops executing javascript on the next 'alert' statement
Hi,
I'm currently working on a javascript script. For debugging purposes I have it display lots of alerts so I can see what it's doing.
However, when I check the 'prevent this page from creating additional dialogs' box on one of the alerts, Firefox then stops executing the javascript on the next 'alert' statement in the script.
---
I get this error in Firebug:
Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMWindow.alert] [Break On This Error]
alert(responseData);
---
If I do not check the 'prevent this page from creating additional dialogs' box, the script works fine.
If I disable the Firebug extension the problem persists, so it cannot be a Firebug problem.
Is this a bug in Firefox? I'd appreciate any help.
Endret
All Replies (2)
Someone may reply, but you may have more success asking elsewhere, maybe on a mozillazine forum.
Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox.
http://forums.mozillazine.org/viewforum.php?f=25
You'll need to register and login to be able to post in that forum.