Fix status indicator for successful PDF retrieval in progress window

This commit is contained in:
Dan Stillman 2018-10-09 18:24:53 -04:00
parent f3964972ff
commit ab27dd154e

View file

@ -1387,7 +1387,9 @@ Zotero.Attachments = new function(){
current.result = attachment;
progressQueue.updateRow(
current.item.id,
Zotero.ProgressQueue.ROW_FAILED,
attachment
? Zotero.ProgressQueue.ROW_SUCCEEDED
: Zotero.ProgressQueue.ROW_FAILED,
attachment
? attachment.getField('title')
: Zotero.getString('findPDF.noPDFFound')