Webページ内のselect要素等が生成するポップアップに反応しないように
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6295 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
f87006c5da
commit
8057f93e9c
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user