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.
This commit is contained in:
Dan Stillman 2013-03-18 20:28:16 -04:00
parent 47299c9e85
commit 22f9fc04a8

View file

@ -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;