From 921910090154ca58aafab3fcfd868f3572844977 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Wed, 23 Jul 2014 18:04:41 -0400 Subject: [PATCH] Another Fx 32 translation fix --- chrome/content/zotero/xpcom/translation/translate.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js index 959a2a57cd..a098624ff1 100644 --- a/chrome/content/zotero/xpcom/translation/translate.js +++ b/chrome/content/zotero/xpcom/translation/translate.js @@ -346,6 +346,7 @@ Zotero.Translate.Sandbox = { if(!Zotero.Utilities.isEmpty(sandbox.exports)) { sandbox.exports.Zotero = sandbox.Zotero; sandbox = sandbox.exports; + if(Zotero.isFx && sandbox.wrappedJSObject) sandbox = sandbox.wrappedJSObject; } else { translate._debug("COMPAT WARNING: "+translation.translator[0].label+" does "+ "not export any properties. Only detect"+translation._entryFunctionSuffix+