From ff0f649a4d8a7f3ebcd4aec0932667bac2a40f8a Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Thu, 15 Aug 2013 15:50:44 -0400 Subject: [PATCH] Call done handler after saving Broken by dde09c54a201a4298815135cdd0eb76903992234 --- chrome/content/zotero/xpcom/translation/translate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js index b55ea26c22..bfa2fb37a2 100644 --- a/chrome/content/zotero/xpcom/translation/translate.js +++ b/chrome/content/zotero/xpcom/translation/translate.js @@ -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); } },