From 01c80610b469d97b644c419a28a452855547b1d1 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Mon, 1 Dec 2014 03:17:03 -0500 Subject: [PATCH] Maybe fix for Firefox 31 Still need to test more comprehensively --- chrome/content/zotero/xpcom/translation/translate_firefox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/translation/translate_firefox.js b/chrome/content/zotero/xpcom/translation/translate_firefox.js index c3f69cfdf0..6bfcc587a1 100644 --- a/chrome/content/zotero/xpcom/translation/translate_firefox.js +++ b/chrome/content/zotero/xpcom/translation/translate_firefox.js @@ -545,7 +545,7 @@ Zotero.Translate.SandboxManager.prototype = { Zotero.Translate.ChildSandboxManager = function(parent) { this._wrappedSandbox = new parent.sandbox.Object(); this._wrappedSandbox.Zotero = new parent.sandbox.Object(); - this.sandbox = this._wrappedSandbox.wrappedJSObject; + this.sandbox = this._wrappedSandbox.wrappedJSObject || this._wrappedSandbox; this._parent = parent; } Zotero.Translate.ChildSandboxManager.prototype = {