From 22f9fc04a80d13268141e2647bcaee0bc582e19e Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 18 Mar 2013 20:28:16 -0400 Subject: [PATCH] Fix update marking for uploaded file versions that exist remotely If a file version existed on the server, the uploaded attachment wasn't marked as updated until the next sync. --- chrome/content/zotero/xpcom/storage/zfs.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/storage/zfs.js b/chrome/content/zotero/xpcom/storage/zfs.js index 1309b68c9..aecbb36a9 100644 --- a/chrome/content/zotero/xpcom/storage/zfs.js +++ b/chrome/content/zotero/xpcom/storage/zfs.js @@ -249,8 +249,7 @@ Zotero.Sync.Storage.ZFS = (function () { // File was already available, so uploading isn't required if (rootTag == 'exists') { - existsCallback(); - return false; + return existsCallback(); } var url = req.responseXML.getElementsByTagName('url')[0].textContent;