mirror of
https://github.com/zotero/zotero.git
synced 2026-09-22 00:32:47 +00:00
fix file import bug
This commit is contained in:
parent
d7dc47f3f5
commit
daada078a2
1 changed files with 4 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue