www

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

commit 5a005cd5ae14eebe24cbcf6b896a9d057d107f42
parent 48544729e751a4fad25bb8860a6c079de367d064
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 26 Mar 2013 02:49:21 -0400

Fix WebDAV file sync conflict

Diffstat:
Mchrome/content/zotero/xpcom/storage/webdav.js | 14++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/chrome/content/zotero/xpcom/storage/webdav.js b/chrome/content/zotero/xpcom/storage/webdav.js @@ -220,15 +220,17 @@ Zotero.Sync.Storage.WebDAV = (function () { var smtime = Zotero.Sync.Storage.getSyncedModificationTime(item.id); if (smtime != mtime) { - var localData = { modTime: fmtime }; - var remoteData = { modTime: mtime }; - Zotero.Sync.Storage.QueueManager.addConflict( - request.name, localData, remoteData - ); Zotero.debug("Conflict -- last synced file mod time " + "does not match time on storage server" + " (" + smtime + " != " + mtime + ")"); - return false; + return { + localChanges: false, + remoteChanges: false, + conflict: { + local: { modTime: fmtime }, + remote: { modTime: mtime } + } + }; } } else {