зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
c519f893ff
Коммит
999871628a
|
@ -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()
|
||||||
|
|
Загрузка…
Ссылка в новой задаче