From f68d64a4b2407f75f7d466717a8aad8557af85da Mon Sep 17 00:00:00 2001 From: piro Date: Wed, 21 Apr 2010 11:03:05 +0000 Subject: [PATCH] =?UTF-8?q?=E3=83=84=E3=83=BC=E3=83=AB=E3=83=90=E3=83=BC?= =?UTF-8?q?=E3=81=AE=E3=82=AB=E3=82=B9=E3=82=BF=E3=83=9E=E3=82=A4=E3=82=BA?= =?UTF-8?q?=E4=B8=AD=E3=81=AF=E3=80=81=E3=82=BF=E3=83=96=E3=83=90=E3=83=BC?= =?UTF-8?q?=E3=81=AE=E3=83=89=E3=83=A9=E3=83=83=E3=82=B0=EF=BC=86=E3=83=89?= =?UTF-8?q?=E3=83=AD=E3=83=83=E3=83=97=E3=82=92=E7=84=A1=E5=8A=B9=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6596 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- .../treestyletab/treestyletabbrowser_tabbarDNDObserver.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/content/treestyletab/treestyletabbrowser_tabbarDNDObserver.js b/content/treestyletab/treestyletabbrowser_tabbarDNDObserver.js index cbf15ca7..bbd95685 100644 --- a/content/treestyletab/treestyletabbrowser_tabbarDNDObserver.js +++ b/content/treestyletab/treestyletabbrowser_tabbarDNDObserver.js @@ -31,11 +31,14 @@ TreeStyleTabBrowserTabbarDNDObserver.prototype = { { var sv = this.mOwner; - if (sv.evaluateXPath( + if ( + sv.evaluateXPath( 'ancestor-or-self::*[contains(" scrollbar popup menupopup panel tooltip ", concat(" ", local-name(), " "))]', aEvent.originalTarget, XPathResult.BOOLEAN_TYPE - ).booleanValue) + ).booleanValue || + (window.gToolbox && gToolbox.customizing) + ) return false; var tab = sv.getTabFromEvent(aEvent);