Bug 96843: 'Find in this page' textfield doesn't get focus by default. Patch by James Kelley <oneiros@darkspire.net>, r=kin, sr=alecf.

This commit is contained in:
jaggernaut%netscape.com 2001-10-01 01:13:43 +00:00
Родитель caa9e6f319
Коммит 253004d746
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -97,8 +97,7 @@ function onLoad()
if (dialog.findKey.value)
dialog.findKey.select();
else
dialog.findKey.focus();
dialog.findKey.focus();
}
function onUnload()
@ -125,6 +124,8 @@ function onOK()
if (!dialog.bundle)
dialog.bundle = document.getElementById("findBundle");
window.alert(dialog.bundle.getString("notFoundWarning"));
dialog.findKey.select();
dialog.findKey.focus();
}
}