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:
parent
47299c9e85
commit
22f9fc04a8
|
@ -249,8 +249,7 @@ Zotero.Sync.Storage.ZFS = (function () {
|
||||||
|
|
||||||
// File was already available, so uploading isn't required
|
// File was already available, so uploading isn't required
|
||||||
if (rootTag == 'exists') {
|
if (rootTag == 'exists') {
|
||||||
existsCallback();
|
return existsCallback();
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var url = req.responseXML.getElementsByTagName('url')[0].textContent;
|
var url = req.responseXML.getElementsByTagName('url')[0].textContent;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user