diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js index c301ea6ff8..9d7f5e27d2 100644 --- a/chrome/content/zotero/xpcom/translation/translate.js +++ b/chrome/content/zotero/xpcom/translation/translate.js @@ -259,6 +259,13 @@ Zotero.Translate.Sandbox = { item = item.wrappedJSObject ? item.wrappedJSObject : item; if(arg1 == "itemDone") { item.complete = translate._sandboxZotero.Item.prototype.complete; + } else if(arg1 == "translators" && Zotero.isFx && !Zotero.isBookmarklet) { + var translators = new translate._sandboxManager.sandbox.Array(); + translators = translators.wrappedJSObject || translators; + for (var i=0; i