forked from mirrors/gecko-dev
Bug 1292321 - Pressing tab key in address bar selects one-off search buttons instead of the entries in the history dropdown list. r=florian
MozReview-Commit-ID: 6hbW7n5jiLS --HG-- extra : rebase_source : da16f6925a5dac03df7c4fa12dfdb9c97b0dd362
This commit is contained in:
parent
a79a933b9a
commit
f9d35c97ba
2 changed files with 3 additions and 1 deletions
|
|
@ -1291,6 +1291,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|||
class="search-one-offs"
|
||||
compact="true"
|
||||
includecurrentengine="true"
|
||||
disabletab="true"
|
||||
flex="1"/>
|
||||
</xul:hbox>
|
||||
</content>
|
||||
|
|
|
|||
|
|
@ -1750,7 +1750,8 @@
|
|||
if (event.keyCode == KeyEvent.DOM_VK_TAB &&
|
||||
!event.altKey &&
|
||||
!event.ctrlKey &&
|
||||
!event.metaKey) {
|
||||
!event.metaKey &&
|
||||
this.getAttribute("disabletab") != "true") {
|
||||
stopEvent = this.advanceSelection(!event.shiftKey, false, true);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue