From 7022379a87ecf22bd9978e7ab33df9c837f6990f Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Mon, 29 Oct 2012 19:31:10 -0400 Subject: [PATCH] Fix RDF for Firefox 17 --- .../zotero/xpcom/translation/translate.js | 27 ++++++++++++++----- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js index f9f4197691..e931be4d2c 100644 --- a/chrome/content/zotero/xpcom/translation/translate.js +++ b/chrome/content/zotero/xpcom/translation/translate.js @@ -2465,7 +2465,7 @@ Zotero.Translate.IO._RDFSandbox.prototype = { } } - return containerElements; + return this._expose(containerElements); }, /** @@ -2498,7 +2498,7 @@ Zotero.Translate.IO._RDFSandbox.prototype = { for(var i in this._dataStore.subjectIndex) { returnArray.push(this._dataStore.subjectIndex[i][0].subject); } - return returnArray; + return this._expose(returnArray); }, /** @@ -2514,7 +2514,7 @@ Zotero.Translate.IO._RDFSandbox.prototype = { for(var i=0; i