www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit e4bc4c028dd44ab9b45f7bbe2f9757fa76ca2466
parent 2f47eae3fff7fc1ec6b589cf7c186bc79eb42ada
Author: Dan Stillman <dstillman@zotero.org>
Date:   Thu, 26 May 2016 00:33:19 -0400

Don't fail if processDocuments() processor returns undefined

Follow up to 157b8deda9

Diffstat:
Mchrome/content/zotero/xpcom/http.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/http.js b/chrome/content/zotero/xpcom/http.js @@ -864,7 +864,7 @@ Zotero.HTTP = new function() { } // If processor returns a promise, wait for it - if (maybePromise.then) { + if (maybePromise && maybePromise.then) { maybePromise.then(() => doLoad()) .catch(e => { if (exception) {