Fix obj.isAttachment() sync error (which really should be a "Reconciliation unimplemented" error)
This commit is contained in:
parent
094fe1c6a2
commit
e52ea34e2b
1 changed files with 11 additions and 9 deletions
|
@ -1576,17 +1576,19 @@ Zotero.Sync.Server.Data = new function() {
|
|||
continue;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
Zotero.debug(obj);
|
||||
Zotero.debug(remoteObj);
|
||||
var msg = "Reconciliation unimplemented for " + types;
|
||||
if (type == 'item') {
|
||||
if (obj.isAttachment()) {
|
||||
var msg = "Reconciliation unimplemented for attachment items";
|
||||
alert(msg);
|
||||
throw(msg);
|
||||
}
|
||||
|
||||
if (obj.isAttachment()) {
|
||||
var msg = "Reconciliation unimplemented for attachment items";
|
||||
}
|
||||
else {
|
||||
Zotero.debug(obj);
|
||||
Zotero.debug(remoteObj);
|
||||
var msg = "Reconciliation unimplemented for " + types;
|
||||
alert(msg);
|
||||
throw(msg);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue