From 01c370824a7df0a03b8a0fe15dd7b120740246e9 Mon Sep 17 00:00:00 2001 From: "neil%parkwaycc.co.uk" Date: Wed, 14 Nov 2007 10:44:41 +0000 Subject: [PATCH] Bug 286718 Enter doesn't replace in spell check dialog r=IanN sr=mscott git-svn-id: svn://10.0.0.236/trunk@239379 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/editor/ui/dialogs/content/EdSpellCheck.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/editor/ui/dialogs/content/EdSpellCheck.js b/mozilla/editor/ui/dialogs/content/EdSpellCheck.js index 4b649f35a1f..7f0993a3c74 100644 --- a/mozilla/editor/ui/dialogs/content/EdSpellCheck.js +++ b/mozilla/editor/ui/dialogs/content/EdSpellCheck.js @@ -568,7 +568,7 @@ function SetReplaceEnable() function doDefault() { if (gDialog.ReplaceButton.getAttribute("default") == "true") - Replace(); + Replace(gDialog.ReplaceWordInput.value); else if (gDialog.IgnoreButton.getAttribute("default") == "true") Ignore(); else if (gDialog.CloseButton.getAttribute("default") == "true")