From 8057f93e9c8b9c033e2f35f2299d31876e94eebf Mon Sep 17 00:00:00 2001 From: piro Date: Tue, 9 Feb 2010 23:11:02 +0000 Subject: [PATCH] =?UTF-8?q?Web=E3=83=9A=E3=83=BC=E3=82=B8=E5=86=85?= =?UTF-8?q?=E3=81=AEselect=E8=A6=81=E7=B4=A0=E7=AD=89=E3=81=8C=E7=94=9F?= =?UTF-8?q?=E6=88=90=E3=81=99=E3=82=8B=E3=83=9D=E3=83=83=E3=83=97=E3=82=A2?= =?UTF-8?q?=E3=83=83=E3=83=97=E3=81=AB=E5=8F=8D=E5=BF=9C=E3=81=97=E3=81=AA?= =?UTF-8?q?=E3=81=84=E3=82=88=E3=81=86=E3=81=AB?= 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@6295 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletab.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index c27119a9..e0654946 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -971,7 +971,8 @@ catch(e) { return; case 'popupshowing': - if (!this.evaluateXPath( + if (aEvent.originalTarget.boxObject && + !this.evaluateXPath( 'local-name() = "tooltip" or local-name() ="panel" or '+ 'parent::*/ancestor-or-self::*[local-name()="popup" or local-name()="menupopup"]', aEvent.originalTarget, @@ -986,7 +987,8 @@ catch(e) { return; case 'popuphiding': - if (!this.evaluateXPath( + if (aEvent.originalTarget.boxObject && + !this.evaluateXPath( 'local-name() = "tooltip" or local-name() ="panel" or '+ 'parent::*/ancestor-or-self::*[local-name()="popup" or local-name()="menupopup"]', aEvent.originalTarget,