ツールバーのカスタマイズ中は、タブバーのドラッグ&ドロップを無効化
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6596 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
248c275ef2
commit
f68d64a4b2
@ -31,11 +31,14 @@ TreeStyleTabBrowserTabbarDNDObserver.prototype = {
|
|||||||
{
|
{
|
||||||
var sv = this.mOwner;
|
var sv = this.mOwner;
|
||||||
|
|
||||||
if (sv.evaluateXPath(
|
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(), " "))]',
|
||||||
aEvent.originalTarget,
|
aEvent.originalTarget,
|
||||||
XPathResult.BOOLEAN_TYPE
|
XPathResult.BOOLEAN_TYPE
|
||||||
).booleanValue)
|
).booleanValue ||
|
||||||
|
(window.gToolbox && gToolbox.customizing)
|
||||||
|
)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
var tab = sv.getTabFromEvent(aEvent);
|
var tab = sv.getTabFromEvent(aEvent);
|
||||||
|
Loading…
Reference in New Issue
Block a user