Don't start the progress window close timer after every translated item is saved -- only call it at the end

This should fix premature closing when saving multiple items. It also means that translators must call Zotero.done() or else the window will stay open.

This change is not being made on the 1.0 branch, since we don't want to have to push dozens of fixed translators.
This commit is contained in:
Dan Stillman 2009-01-08 08:38:07 +00:00
parent 3502bac60c
commit fe1692fb16

View file

@ -464,8 +464,6 @@ var Zotero_Browser = new function() {
if(collection) {
collection.addItem(item.getID());
}
Zotero_Browser.progress.startCloseTimer();
}
//////////////////////////////////////////////////////////////////////////////