www

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

commit d3fc4eb554a306679f4c9dc254434f85205aa543
parent 9c7663979e6ddd6977cdce59b275e8666fc17ab8
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri, 22 Apr 2016 20:16:03 -0400

Mark browser-offline exception as fatal during syncing

Diffstat:
Mchrome/content/zotero/xpcom/sync/syncAPIClient.js | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/chrome/content/zotero/xpcom/sync/syncAPIClient.js b/chrome/content/zotero/xpcom/sync/syncAPIClient.js @@ -647,6 +647,9 @@ Zotero.Sync.APIClient.prototype = { return false; } } + else if (e instanceof Zotero.HTTP.BrowserOfflineException) { + e.fatal = true; + } throw e; } }.bind(this)));