Call done handler after saving

Broken by dde09c54a2
This commit is contained in:
Simon Kornblith 2013-08-15 15:50:44 -04:00
parent e35f254fa1
commit ff0f649a4d

View File

@ -1413,7 +1413,7 @@ Zotero.Translate.Base.prototype = {
* Checks if saving done, and if so, fires done event
*/
"_checkIfDone":function() {
if(!this._savingItems && !this._savingAttachments.length && !this._currentState) {
if(!this._savingItems && !this._savingAttachments.length) {
this._runHandler("done", true);
}
},