Fix getTranslatorObject()

This commit is contained in:
Simon Kornblith 2011-07-03 20:37:53 +00:00
parent 4f4be436f6
commit 178eda0c9d

View file

@ -255,7 +255,7 @@ Zotero.Translate.Sandbox = {
var haveTranslatorFunction = function(translator) {
translation.translator[0] = translator;
if(!Zotero._loadTranslator(translator)) throw new Error("Translator could not be loaded");
if(!translation._loadTranslator(translator)) throw new Error("Translator could not be loaded");
if(Zotero.isFx) {
// do same origin check