fix file import bug

This commit is contained in:
Simon Kornblith 2011-01-17 15:48:05 +00:00
parent d7dc47f3f5
commit daada078a2

View file

@ -666,7 +666,6 @@ Zotero.Translate.Base.prototype = {
return;
}
var oldState = this._currentState;
this._currentState = null;
this._waitForCompletion = false;
var errorString = null;
@ -689,9 +688,12 @@ Zotero.Translate.Base.prototype = {
// more translators to try; proceed to next translator
this._detect();
} else {
this._currentState = null;
this._runHandler("translators", this._foundTranslators ? this._foundTranslators : false);
}
} else {
} else {
this._currentState = null;
if(returnValue) {
this._debug("Translation successful");
} else {