зеркало из https://github.com/mozilla/gecko-dev.git
Fix PT bustage.
This commit is contained in:
Родитель
a96331f087
Коммит
1cb32bac45
|
@ -382,7 +382,7 @@
|
||||||
var command = aEvent.originalTarget.getAttribute("command");
|
var command = aEvent.originalTarget.getAttribute("command");
|
||||||
var isDisabled = aEvent.originalTarget.getAttribute("disabled")
|
var isDisabled = aEvent.originalTarget.getAttribute("disabled")
|
||||||
if (isDisabled != "true" && (command == "cmd_bm_newfolder" || command == "cmd_bm_paste")) {
|
if (isDisabled != "true" && (command == "cmd_bm_newfolder" || command == "cmd_bm_paste")) {
|
||||||
personalToolbarDNDObserver.onDragSetFeedBack(document.popupNode, this.parentNode.parentNode._orientation);
|
personalToolbarDNDObserver.onDragSetFeedBack(document.popupNode, this.parentNode.parentNode.parentNode._orientation);
|
||||||
} else {
|
} else {
|
||||||
personalToolbarDNDObserver.onDragRemoveFeedBack(document.popupNode);
|
personalToolbarDNDObserver.onDragRemoveFeedBack(document.popupNode);
|
||||||
}
|
}
|
||||||
|
@ -409,11 +409,11 @@
|
||||||
ondragover="nsDragAndDrop.dragOver(event, personalToolbarDNDObserver); event.preventBubble()">
|
ondragover="nsDragAndDrop.dragOver(event, personalToolbarDNDObserver); event.preventBubble()">
|
||||||
|
|
||||||
<!-- context menu -->
|
<!-- context menu -->
|
||||||
<xul:menupopup onpopupshowing="this.parentNode.parentNode.createBTContextMenu(event);"
|
<xul:menupopup onpopupshowing="this.parentNode.parentNode.parentNode.createBTContextMenu(event);"
|
||||||
onpopuphidden ="this.parentNode.parentNode.destroyBTContextMenu(event);"/>
|
onpopuphidden ="this.parentNode.parentNode.parentNode.destroyBTContextMenu(event);"/>
|
||||||
|
|
||||||
<xul:tooltip id="ptTooltip" noautohide="true"
|
<xul:tooltip id="ptTooltip" noautohide="true"
|
||||||
onpopupshowing="return this.parentNode.parentNode.fillInBTTooltip(document.tooltipNode)">
|
onpopupshowing="return this.parentNode.parentNode.parentNode.fillInBTTooltip(document.tooltipNode)">
|
||||||
<xul:vbox id="ptTooltipTextBox" flex="1">
|
<xul:vbox id="ptTooltipTextBox" flex="1">
|
||||||
<xul:label id="ptTitleText" />
|
<xul:label id="ptTitleText" />
|
||||||
<xul:label id="ptUrlText" />
|
<xul:label id="ptUrlText" />
|
||||||
|
@ -497,9 +497,9 @@
|
||||||
|
|
||||||
</xul:template>
|
</xul:template>
|
||||||
</xul:hbox>
|
</xul:hbox>
|
||||||
<xul:hbox>
|
<xul:hbox mousethrough="always">
|
||||||
<xul:hbox id="overflow-padder"/>
|
<xul:hbox mousethrough="always" id="overflow-padder"/>
|
||||||
<xul:toolbarbutton collapsed="true" type="menu"
|
<xul:toolbarbutton mousethrough="never" collapsed="true" type="menu"
|
||||||
datasources="rdf:bookmarks rdf:files rdf:localsearch rdf:internetsearch"
|
datasources="rdf:bookmarks rdf:files rdf:localsearch rdf:internetsearch"
|
||||||
ref="NC:PersonalToolbarFolder" flags="dont-test-empty"
|
ref="NC:PersonalToolbarFolder" flags="dont-test-empty"
|
||||||
oncommand="BookmarksUtils.loadBookmarkBrowser(event, this.database)"
|
oncommand="BookmarksUtils.loadBookmarkBrowser(event, this.database)"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче