diff --git a/mozilla/dom/locales/en-US/chrome/dom/dom.properties b/mozilla/dom/locales/en-US/chrome/dom/dom.properties index c68f3e3d505..b02236ff83f 100644 --- a/mozilla/dom/locales/en-US/chrome/dom/dom.properties +++ b/mozilla/dom/locales/en-US/chrome/dom/dom.properties @@ -41,7 +41,7 @@ KillScriptWithDebugMessage=A script on this page may be busy, or it may have sto StopScriptButton=Stop script DebugScriptButton=Debug script WaitForScriptButton=Continue -NeverShowDialogAgain=Never show this dialog again +DontAskAgain=Don't ask me again JSURLLoadBlockedWarning=Attempt to load a javascript: URL from one host\nin a window displaying content from another host\nwas blocked by the security manager. WindowCloseBlockedWarning=Scripts may not close windows that were not opened by script. OnBeforeUnloadPreMessage=Are you sure you want to navigate away from this page? diff --git a/mozilla/dom/src/base/nsJSEnvironment.cpp b/mozilla/dom/src/base/nsJSEnvironment.cpp index 72c62e8d2ec..81a4b2d751c 100644 --- a/mozilla/dom/src/base/nsJSEnvironment.cpp +++ b/mozilla/dom/src/base/nsJSEnvironment.cpp @@ -776,7 +776,7 @@ nsJSContext::DOMBranchCallback(JSContext *cx, JSScript *script) getter_Copies(stopButton)); rv |= bundle->GetStringFromName(NS_LITERAL_STRING("WaitForScriptButton").get(), getter_Copies(waitButton)); - rv |= bundle->GetStringFromName(NS_LITERAL_STRING("NeverShowDialogAgain").get(), + rv |= bundle->GetStringFromName(NS_LITERAL_STRING("DontAskAgain").get(), getter_Copies(neverShowDlg));