[Pkg-mozext-commits] [tabmixplus] 03/23: Session Manager doesn't save closed tabs, regressed by changeset 19a385a1173f
David Prévot
taffit at moszumanska.debian.org
Fri Sep 23 03:31:02 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository tabmixplus.
commit 2f37f4858fea187bf6c6cdaecdbeb0838700e115
Author: onemen <tabmix.onemen at gmail.com>
Date: Sun Jun 26 20:17:19 2016 +0300
Session Manager doesn't save closed tabs, regressed by changeset 19a385a1173f
---
chrome/content/session/session.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/chrome/content/session/session.js b/chrome/content/session/session.js
index 7a748d5..a4128f4 100644
--- a/chrome/content/session/session.js
+++ b/chrome/content/session/session.js
@@ -3536,7 +3536,8 @@ TabmixSessionManager = {
var rdfLabelTabs = rdfNodeTabs.QueryInterface(Ci.nsIRDFResource).Value;
var ctabs = TMP_ClosedTabs.getClosedTabData;
var maxTabsUndo = Services.prefs.getIntPref("browser.sessionstore.max_tabs_undo");
- ctabs = ctabs.filter(tabData => this.getSessionStoreDataForRDF(tabData));
+ ctabs = ctabs.map(data => this.getSessionStoreDataForRDF(data))
+ .filter(data => data);
ctabs.reverse().forEach(data => {
let uniqueId, rdfLabelSession, newNode;
uniqueId = "panel" + Date.now() + Math.random();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git
More information about the Pkg-mozext-commits
mailing list