ツリー型タブの機能で自動的にリンクをタブで開けなくなっていた

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6655 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-05-02 06:45:57 +00:00
parent 53090d18b3
commit 7ae995270d

View File

@ -1273,7 +1273,7 @@ var TreeStyleTabUtils = {
else if (aLink instanceof Ci.nsIDOMElement) { else if (aLink instanceof Ci.nsIDOMElement) {
options = { link : aLink }; options = { link : aLink };
} }
options.__prpto__ = { options.__proto__ = {
external : { external : {
newTab : this.getTreePref('openOuterLinkInNewTab') || this.getTreePref('openAnyLinkInNewTab'), newTab : this.getTreePref('openOuterLinkInNewTab') || this.getTreePref('openAnyLinkInNewTab'),
forceChild : true forceChild : true
@ -1281,7 +1281,8 @@ var TreeStyleTabUtils = {
internal : { internal : {
newTab : this.getTreePref('openAnyLinkInNewTab') newTab : this.getTreePref('openAnyLinkInNewTab')
} }
} };
options.uri = options.link.href;
return this.checkReadyToOpenNewTab(options); return this.checkReadyToOpenNewTab(options);
}, },