Fix bugs 51549 and bug 49444, focus to find dialog textfield upon opening and a typo. r=law a=brendan

This commit is contained in:
BlakeR1234%aol.com 2000-09-09 03:06:54 +00:00
Родитель c519f893ff
Коммит 999871628a
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -46,7 +46,7 @@
dialog.wrap.removeAttribute( "checked" ); dialog.wrap.removeAttribute( "checked" );
} }
if ( data.wearchBackwards ) { if ( data.searchBackwards ) {
dialog.searchBackwards.setAttribute( "checked", "" ); dialog.searchBackwards.setAttribute( "checked", "" );
} else { } else {
dialog.searchBackwards.removeAttribute( "checked" ); dialog.searchBackwards.removeAttribute( "checked" );
@ -56,6 +56,7 @@
if (dialog.findKey.getAttribute("value") == "") { if (dialog.findKey.getAttribute("value") == "") {
dialog.find.setAttribute("disabled", "true"); dialog.find.setAttribute("disabled", "true");
} }
dialog.findKey.focus();
} }
function loadData() function loadData()