From 7787f2f1cc1fdc74a7ccc4bb5238c425eb46fd6d Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 18 Dec 2009 12:10:51 +0000 Subject: [PATCH] More helpful message for HTTP 507 Insufficient Storage (WebDAV) --- chrome/content/zotero/xpcom/storage/webdav.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chrome/content/zotero/xpcom/storage/webdav.js b/chrome/content/zotero/xpcom/storage/webdav.js index 3a0a909699..f4e69bf5a6 100644 --- a/chrome/content/zotero/xpcom/storage/webdav.js +++ b/chrome/content/zotero/xpcom/storage/webdav.js @@ -552,6 +552,10 @@ Zotero.Sync.Storage.Session.WebDAV.prototype._onUploadComplete = function (httpR + "from the Sync pane of the Zotero preferences."); return; + case 507: + this.onError("A file upload failed due to insufficient space on the WebDAV server."); + return; + default: this.onError("Unexpected file upload status " + status + " in Zotero.Sync.Storage._onUploadComplete()");