mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-02 20:20:00 +00:00
Bug 642404 <autocomplete disablehistory="false"> displays incorrectly on Linux; switch SeaMonkey (and Thunderbird) to use enablehistory="true" instead r=Standard8
DONTBUILD
This commit is contained in:
parent
3c025ebe4d
commit
29285bad47
@ -17,6 +17,14 @@
|
||||
-moz-user-focus: ignore;
|
||||
}
|
||||
|
||||
.autocomplete-history-dropmarker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.autocomplete-history-dropmarker[enablehistory="true"] {
|
||||
display: -moz-box;
|
||||
}
|
||||
|
||||
/* The following rule is here to fix bug 96899 (and now 117952).
|
||||
Somehow trees create a situation
|
||||
in which a popupset flows itself as if its popup child is directly within it
|
||||
|
@ -29,7 +29,7 @@
|
||||
</xul:hbox>
|
||||
|
||||
<xul:dropmarker class="autocomplete-history-dropmarker" allowevents="true"
|
||||
xbl:inherits="open,hidden=disablehistory" anonid="historydropmarker"/>
|
||||
xbl:inherits="open,enablehistory" anonid="historydropmarker"/>
|
||||
|
||||
<xul:popupset>
|
||||
<xul:panel type="autocomplete" anonid="popup"
|
||||
@ -53,7 +53,6 @@
|
||||
this.ifSetAttribute("timeout", 50);
|
||||
this.ifSetAttribute("maxrows", 5);
|
||||
this.ifSetAttribute("showpopup", true);
|
||||
this.ifSetAttribute("disablehistory", true);
|
||||
this.ifSetAttribute("disableKeyNavigation", true);
|
||||
|
||||
// initialize the search sessions
|
||||
@ -1006,7 +1005,7 @@
|
||||
// Alt+Down falls through to history popup toggling code
|
||||
|
||||
case KeyEvent.DOM_VK_F4:
|
||||
if (!aEvent.ctrlKey && !aEvent.shiftKey && this.getAttribute("disablehistory") != "true") {
|
||||
if (!aEvent.ctrlKey && !aEvent.shiftKey && this.getAttribute("enablehistory") == "true") {
|
||||
var historyPopup = document.getAnonymousElementByAttribute(this, "anonid", "historydropmarker");
|
||||
if (historyPopup)
|
||||
historyPopup.showPopup();
|
||||
|
Loading…
x
Reference in New Issue
Block a user