зеркало из https://github.com/mozilla/pjs.git
backing out, tree's closed
This commit is contained in:
Родитель
d4a3deb1b9
Коммит
94fc6092ce
|
@ -52,9 +52,6 @@ var PlacesCommandHook = {
|
|||
get panel() {
|
||||
delete this.panel;
|
||||
var element = document.getElementById("editBookmarkPanel");
|
||||
// initially the panel is hidden
|
||||
// to avoid impacting startup / new window performance
|
||||
element.hidden = false;
|
||||
element.addEventListener("popuphiding", this, false);
|
||||
element.addEventListener("keypress", this, true);
|
||||
return this.panel = element;
|
||||
|
|
|
@ -99,9 +99,9 @@
|
|||
onclick="checkForMiddleClick(this, event);"/>
|
||||
<tooltip id="aHTMLTooltip" onpopupshowing="return FillInHTMLTooltip(document.tooltipNode);"/>
|
||||
|
||||
<panel type="autocomplete" chromedir="&locale.dir;" id="PopupAutoComplete" noautofocus="true" hidden="true"/>
|
||||
<panel type="autocomplete" chromedir="&locale.dir;" id="PopupAutoComplete" noautofocus="true"/>
|
||||
|
||||
<panel id="editBookmarkPanel" orient="vertical" hidden="true">
|
||||
<panel id="editBookmarkPanel" orient="vertical">
|
||||
<vbox id="editBookmarkPanelContent" flex="1"/>
|
||||
<hbox flex="1">
|
||||
<spacer flex="1"/>
|
||||
|
|
|
@ -221,19 +221,6 @@
|
|||
|
||||
<binding id="urlbar-result-popup" extends="chrome://global/content/bindings/autocomplete.xml#autocomplete-result-popup">
|
||||
<implementation>
|
||||
<method name="openAutocompletePopup">
|
||||
<parameter name="aInput"/>
|
||||
<parameter name="aElement"/>
|
||||
<body><![CDATA[
|
||||
// initially the panel is hidden
|
||||
// to avoid impacting startup / new window performance
|
||||
aInput.popup.hidden = false;
|
||||
|
||||
// this method is defined on the base binding
|
||||
this._openAutocompletePopup(aInput, aElement);
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
<method name="onPopupClick">
|
||||
<parameter name="aEvent"/>
|
||||
<body><![CDATA[
|
||||
|
|
|
@ -904,8 +904,11 @@ statusbarpanel#statusbar-display {
|
|||
|
||||
/* ----- AUTOCOMPLETE ----- */
|
||||
|
||||
.autocomplete-treebody::-moz-tree-image(favicon, treecolAutoCompleteValue),
|
||||
.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteValue),
|
||||
.autocomplete-treebody::-moz-tree-image(favicon, treecolAutoCompleteValue) {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteValue) {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
|
|
|
@ -939,8 +939,11 @@ statusbarpanel#statusbar-display {
|
|||
|
||||
/* ::::: autocomplete ::::: */
|
||||
|
||||
.autocomplete-treebody::-moz-tree-image(favicon, treecolAutoCompleteValue),
|
||||
.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteValue),
|
||||
.autocomplete-treebody::-moz-tree-image(favicon, treecolAutoCompleteValue) {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteValue) {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
|
|
|
@ -570,17 +570,6 @@
|
|||
onget="return this.mPopupOpen;"/>
|
||||
|
||||
<method name="openAutocompletePopup">
|
||||
<parameter name="aInput"/>
|
||||
<parameter name="aElement"/>
|
||||
<body><![CDATA[
|
||||
// until we have "baseBinding", (see bug #373652) this allows
|
||||
// us to override openAutocompletePopup(), but still call
|
||||
// the method on the base class
|
||||
this._openAutocompletePopup(aInput, aElement);
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
<method name="_openAutocompletePopup">
|
||||
<parameter name="aInput"/>
|
||||
<parameter name="aElement"/>
|
||||
<body><![CDATA[
|
||||
|
|
Загрузка…
Ссылка в новой задаче