Don't start dragging operation of the tab bar itself from a button which have its own popup menu (#656)

This commit is contained in:
Piro / YUKI Hiroshi 2014-02-09 01:06:35 +09:00
parent 905100500f
commit 8a2989c03e
3 changed files with 6 additions and 1 deletions

View File

@ -8,6 +8,7 @@
* Fixed: In the fullscreen mode, don't hide the navigation toolbar on OS X Lion.
* Fixed: Collapse the tab bar automatically, if it is expanded by long-press of the Ctrl key and a new window is opened while the key is pressed.
* Fixed: Open tabs as children, from the "search by" in the context menu.
* Fixed: Don't start dragging operation of the tab bar itself from a button which have its own popup menu.
- 0.14.2014013001
* Improved: Better compatibility with [Nav Bar on Title Bar](https://addons.mozilla.org/firefox/addon/nav-bar-on-title-bar/).
* Improved: Better compatibility with [Tab Control](https://addons.mozilla.org/firefox/addon/tab-control/).

View File

@ -8,6 +8,7 @@
* OS X Lionでのフルスクリーン表示において、ナビゲーションツールバーを隠さないようにした
* タブバーがCtrlキーの長押しで自動的に表示されている間に新しいウィンドウが開かれた場合に、タブバーが自動的に隠れないでそのままになってしまっていたのを修正
* コンテキストメニューの「~検索」機能から開いたタブが現在のタブの子にならなくなっていたのを修正
* メニューを持つツールバーボタン上ではタブバー自体のドラッグ操作を開始しないようにした
- 0.14.2014013001
* [Nav Bar on Title Bar](https://addons.mozilla.org/firefox/addon/nav-bar-on-title-bar/)との互換性を改善
* [Tab Control](https://addons.mozilla.org/firefox/addon/tab-control/)との互換性を改善

View File

@ -91,7 +91,10 @@ TabbarDNDObserver.prototype = {
if (
sv.evaluateXPath(
'ancestor-or-self::*[contains(" scrollbar popup menupopup panel tooltip ", concat(" ", local-name(), " "))]',
'ancestor-or-self::*[' +
'contains(" scrollbar popup menupopup panel tooltip ", concat(" ", local-name(), " ")) or' +
'(local-name()="toolbarbutton" and @type="menu")' +
']',
aEvent.originalTarget,
Ci.nsIDOMXPathResult.BOOLEAN_TYPE
).booleanValue ||