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'))
behavior += this.kGROUP_BOOKMARK_USE_DUMMY;
if (!this.getTreePref('openGroupBookmarkBehavior.confirm')) {
if (this.getTreePref('openGroupBookmarkAsTabSubTree'))
behavior += this.kGROUP_BOOKMARK_SUBTREE;
else if (this.getTreePref('browser.tabs.loadFolderAndReplace'))
behavior += this.kGROUP_BOOKMARK_REPLACE;
else
behavior += this.kGROUP_BOOKMARK_SEPARATE;
behavior += (
this.getTreePref('openGroupBookmarkAsTabSubTree') ?
this.kGROUP_BOOKMARK_SUBTREE :
this.getTreePref('browser.tabs.loadFolderAndReplace') ?
this.kGROUP_BOOKMARK_REPLACE :
this.kGROUP_BOOKMARK_SEPARATE
);
}
this.setTreePref('openGroupBookmark.behavior', behavior);
this.clearTreePref('openGroupBookmarkBehavior.confirm');