commit 22f9fc04a80d13268141e2647bcaee0bc582e19e
parent 47299c9e85be8ee6eb6d68ff1042e66d2db6ddbe
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 18 Mar 2013 20:28:16 -0400
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.
Diffstat:
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
@@ -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;