From 6cb4fa848ce2deb36f3563aeda7be4f62b730644 Mon Sep 17 00:00:00 2001 From: "ajschult%verizon.net" Date: Wed, 29 Nov 2006 00:38:50 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20361170:=20"never=20show=20this=20dialog?= =?UTF-8?q?=20again"=20may=20be=20too=20confusing=20for=20end=20user.=20?= =?UTF-8?q?=20Patch=20by=20Beno=C3=83=C2=AEt=20,=20r+sr?= =?UTF-8?q?=3Djst?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://10.0.0.236/trunk@216040 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/dom/locales/en-US/chrome/dom/dom.properties | 2 +- mozilla/dom/src/base/nsJSEnvironment.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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));