commit 921910090154ca58aafab3fcfd868f3572844977
parent 6f1b4883802d241fd81984b6c7f3a88c0599260e
Author: Simon Kornblith <simon@simonster.com>
Date: Wed, 23 Jul 2014 18:04:41 -0400
Another Fx 32 translation fix
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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+