From b0aaaadff2235d9bacbd087d957156a2f6794c2d Mon Sep 17 00:00:00 2001 From: piro Date: Mon, 20 Sep 2010 11:01:20 +0000 Subject: [PATCH] updated for changes introduced by Bug 448546 - When middle-clicking back/forward/reload, the new tab should inherit history from the tab that opened it (using duplicateTab) ( https://bugzilla.mozilla.org/show_bug.cgi?id=448546 ) git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7269 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletab.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index 80414de1..f637b936 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -1133,12 +1133,13 @@ catch(e) { window.gotoHistoryIndex window.BrowserForward window.BrowserBack + window.BrowserReloadOrDuplicate ]]>).forEach(function(aFunc) { let source = this._getFunctionSource(aFunc); if (!source || !/^\(?function (gotoHistoryIndex|BrowserForward|BrowserBack)/.test(source)) return; eval(aFunc+' = '+source.replace( - /(openUILinkIn\()/g, + /((?:openUILinkIn|duplicateTabIn)\()/g,