Don't eat the click event by the "invisible popup" for the autohide.
popupBoxObject.setConsumeRollupEvent(Components.interfaces.nsIPopupBoxObject.ROLLUP_NO_CONSUME) have to be called on poupshown, not on popupshowing.
This commit is contained in:
parent
5718fef495
commit
6030fc690d
@ -145,7 +145,7 @@
|
|||||||
<tooltip id="treestyletab-full-tree-tooltip"/>
|
<tooltip id="treestyletab-full-tree-tooltip"/>
|
||||||
<panel id="treestyletab-autohide-content-area-screen"
|
<panel id="treestyletab-autohide-content-area-screen"
|
||||||
treestyletab-ignore-state="true"
|
treestyletab-ignore-state="true"
|
||||||
onpopupshowing="if ('setConsumeRollupEvent' in this.popupBoxObject) this.popupBoxObject.setConsumeRollupEvent(Components.interfaces.nsIPopupBoxObject.ROLLUP_NO_CONSUME);"
|
onpopupshown="if ('setConsumeRollupEvent' in this.popupBoxObject) this.popupBoxObject.setConsumeRollupEvent(Components.interfaces.nsIPopupBoxObject.ROLLUP_NO_CONSUME);"
|
||||||
onclick="this.hidePopup();"
|
onclick="this.hidePopup();"
|
||||||
onDOMMouseScroll="this.hidePopup()"/>
|
onDOMMouseScroll="this.hidePopup()"/>
|
||||||
</popupset>
|
</popupset>
|
||||||
|
Loading…
Reference in New Issue
Block a user