Bug 317419 - use clickSelectsAll property in quicksearch fields, r=philor
This commit is contained in:
Родитель
91fe23f206
Коммит
96d16d153d
|
@ -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">
|
||||
|
|
Загрузка…
Ссылка в новой задаче