Ovo će web mjesto raditi na ograničen način, dok obavljamo održavanje stranice. Ako neki članak ne riješi tvoj problem i ako želiš postaviti pitanje, naša zajednica za podršku spremna je pomoći na Twitteru @FirefoxSupport i na Redditu /r/firefox.

Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više

Checking the 'prevent this page from creating additional dialogs' box stops executing javascript on the next 'alert' statement

  • 2 odgovora
  • 11 ima ovaj problem
  • 7 prikaza
  • Posljednji odgovor od the-edmeister

more options

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.

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.

Izmjenjeno od Stanzi1791

Svi odgovori (2)

more options

Someone may reply, but you may have more success asking elsewhere, maybe on a mozillazine forum.

more options

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.