From db094717ff906706152cd949a46c10554f0de366 Mon Sep 17 00:00:00 2001 From: piro Date: Sun, 29 Jun 2008 01:20:55 +0000 Subject: [PATCH] =?UTF-8?q?Link=20Widgets=E3=81=AA=E3=81=A9=E3=81=A8?= =?UTF-8?q?=E3=81=AE=E7=AB=B6=E5=90=88=E3=82=92=E8=A7=A3=E6=B6=88?= 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@2758 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletab.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index 0e54c339..5ea81e96 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -1117,7 +1117,12 @@ catch(e) { if (!('TMP_contentAreaClick' in window) && // do nothing for Tab Mix Plus TreeStyleTabService.checkToOpenChildTab()) { TreeStyleTabService.stopToOpenChildTab(); - urlSecurityCheck(href, 'nodePrincipal' in linkNode.ownerDocument ? linkNode.ownerDocument.nodePrincipal : linkNode.ownerDocument.location.href ); + if (linkNode) + urlSecurityCheck(href, + 'nodePrincipal' in linkNode.ownerDocument ? + linkNode.ownerDocument.nodePrincipal : + linkNode.ownerDocument.location.href + ); var postData = {}; href = getShortcutOrURI(href, postData); if (!href) return false;