From 0b03a64e702db8200fc5e3ba268617bda90aed2a Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Mon, 5 Dec 2011 17:05:43 -0500 Subject: [PATCH] Closes issue #722. --- common/modules/buffer.jsm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/modules/buffer.jsm b/common/modules/buffer.jsm index aa0c9ba5..94b1692e 100644 --- a/common/modules/buffer.jsm +++ b/common/modules/buffer.jsm @@ -898,8 +898,10 @@ var Buffer = Module("Buffer", { let file = this.win.location.pathname.split("/").pop() || _("buffer.noName"); let title = this.win.document.title || _("buffer.noTitle"); - let info = template.map(sections || options["pageinfo"], - function (opt) template.map(Buffer.pageInfo[opt].action.call(self), util.identity, ", "), + let info = template.map( + (sections || options["pageinfo"]) + .map(function (opt) Buffer.pageInfo[opt].action.call(self)), + function (res) res && iter(res).join(", ") || undefined, ", "); if (bookmarkcache.isBookmarked(this.URL))