Maybe fix for Firefox 31

Still need to test more comprehensively
This commit is contained in:
Simon Kornblith 2014-12-01 03:17:03 -05:00
parent 7dc9022a1f
commit 01c80610b4

View file

@ -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 = {