Bug 286718 Enter doesn't replace in spell check dialog r=IanN sr=mscott

This commit is contained in:
neil@parkwaycc.co.uk 2007-11-14 02:44:41 -08:00
parent b5e809bc0a
commit 450b245331

View File

@ -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")