Link Widgetsなどとの競合を解消

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@2758 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2008-06-29 01:20:55 +00:00
parent 4254274f9c
commit db094717ff

View File

@ -1117,7 +1117,12 @@ catch(e) {
if (!('TMP_contentAreaClick' in window) && // do nothing for Tab Mix Plus if (!('TMP_contentAreaClick' in window) && // do nothing for Tab Mix Plus
TreeStyleTabService.checkToOpenChildTab()) { TreeStyleTabService.checkToOpenChildTab()) {
TreeStyleTabService.stopToOpenChildTab(); 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 = {}; var postData = {};
href = getShortcutOrURI(href, postData); href = getShortcutOrURI(href, postData);
if (!href) return false; if (!href) return false;