commit 01c80610b469d97b644c419a28a452855547b1d1
parent 7dc9022a1f8bba9b607246913b9d9753d70d63e0
Author: Simon Kornblith <simon@simonster.com>
Date: Mon, 1 Dec 2014 03:17:03 -0500
Maybe fix for Firefox 31
Still need to test more comprehensively
Diffstat:
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
@@ -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 = {