Bug 317419 - use clickSelectsAll property in quicksearch fields, r=philor

This commit is contained in:
Natch 2008-09-08 21:54:53 -07:00
Родитель 91fe23f206
Коммит 96d16d153d
3 изменённых файлов: 3 добавлений и 4 удалений

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

@ -633,14 +633,13 @@ function onSearchInputFocus(event)
gSearchInput.value = "";
gSearchInput.showingSearchCriteria = false;
}
gSearchInput.select();
}
// sets focus into the quick search box
function QuickSearchFocus()
{
gSearchInput.focus();
gSearchInput.select();
}
function onSearchInputBlur(event)

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

@ -96,7 +96,7 @@
<label value="&searchInput.label;" accesskey="&searchInput.accesskey;" control="searchInput"/>
<textbox id="searchInput" flex="1" type="timed" timeout="800"
onfocus="onSearchInputFocus(event);"
onblur="onSearchInputBlur(event);" onclick="this.select();"
onblur="onSearchInputBlur(event);" clickSelectsAll="true"
oncommand="onEnterInSearchBar();" chromedir="&locale.dir;">
<button id="quick-search-button" type="menu" chromedir="&locale.dir;">
<menupopup id="quick-search-menupopup" value="0" persist="value" popupalign="topleft" popupanchor="bottomleft">

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

@ -533,7 +533,7 @@
<textbox id="searchInput" flex="1" timeout="800"
onfocus="onSearchInputFocus(event);"
onblur="onSearchInputBlur(event);"
onclick="this.select();" oncommand="onEnterInSearchBar();"
clickSelectsAll="true" oncommand="onEnterInSearchBar();"
chromedir="&locale.dir;">
<button id="quick-search-button" type="menu" chromedir="&locale.dir;">
<menupopup id="quick-search-menupopup" value="0" persist="value" popupalign="topleft" popupanchor="bottomleft">