Fix bug 43893.

git-svn-id: svn://10.0.0.236/trunk@75173 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
BlakeR1234%aol.com 2000-07-30 01:06:56 +00:00
parent 8e9e03a8d5
commit a31a1fc9c6
2 changed files with 3 additions and 2 deletions

View File

@ -125,7 +125,7 @@
return true;
}
function onTyping( key )
function onTyping()
{
if ( dialog.enabled ) {
// Disable OK if they delete all the text.

View File

@ -23,6 +23,7 @@ Contributor(s): Stuart Parmenter <pavlov@netscape.com>
Simon Fraser <sfraser@netscape.com>
Bill Law <law@netscape.com>
Ben Goodger <rgoodger@ihug.co.nz>
Blake Ross <BlakeR1234@aol.com>
-->
<?xml-stylesheet href="chrome://navigator/skin/navigator.css" type="text/css"?>
@ -55,7 +56,7 @@ Contributor(s): Stuart Parmenter <pavlov@netscape.com>
</box>
<box orient="vertical">
<textfield id="dialog.findKey" onkeyup="onTyping(event.which)"/>
<textfield id="dialog.findKey" oninput="return onTyping();"/>
<box orient="vertical" autostretch="never">
<checkbox id="dialog.caseSensitive" value="&caseSensitiveCheckbox.label;"/>
<checkbox id="dialog.wrap" value="&wrapCheckbox.label;"/>