git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4819 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-07-27 08:37:06 +00:00
parent b938a0906e
commit 86be4bc73a

View File

@ -1305,12 +1305,13 @@ var TreeStyleTabService = {
if (this.getTreePref('openGroupBookmarkAsTabSubTree.underParent')) if (this.getTreePref('openGroupBookmarkAsTabSubTree.underParent'))
behavior += this.kGROUP_BOOKMARK_USE_DUMMY; behavior += this.kGROUP_BOOKMARK_USE_DUMMY;
if (!this.getTreePref('openGroupBookmarkBehavior.confirm')) { if (!this.getTreePref('openGroupBookmarkBehavior.confirm')) {
if (this.getTreePref('openGroupBookmarkAsTabSubTree')) behavior += (
behavior += this.kGROUP_BOOKMARK_SUBTREE; this.getTreePref('openGroupBookmarkAsTabSubTree') ?
else if (this.getTreePref('browser.tabs.loadFolderAndReplace')) this.kGROUP_BOOKMARK_SUBTREE :
behavior += this.kGROUP_BOOKMARK_REPLACE; this.getTreePref('browser.tabs.loadFolderAndReplace') ?
else this.kGROUP_BOOKMARK_REPLACE :
behavior += this.kGROUP_BOOKMARK_SEPARATE; this.kGROUP_BOOKMARK_SEPARATE
);
} }
this.setTreePref('openGroupBookmark.behavior', behavior); this.setTreePref('openGroupBookmark.behavior', behavior);
this.clearTreePref('openGroupBookmarkBehavior.confirm'); this.clearTreePref('openGroupBookmarkBehavior.confirm');