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;
|
continue;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
default:
|
if (type == 'item') {
|
||||||
Zotero.debug(obj);
|
if (obj.isAttachment()) {
|
||||||
Zotero.debug(remoteObj);
|
var msg = "Reconciliation unimplemented for attachment items";
|
||||||
var msg = "Reconciliation unimplemented for " + types;
|
|
||||||
alert(msg);
|
alert(msg);
|
||||||
throw(msg);
|
throw(msg);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (obj.isAttachment()) {
|
else {
|
||||||
var msg = "Reconciliation unimplemented for attachment items";
|
Zotero.debug(obj);
|
||||||
|
Zotero.debug(remoteObj);
|
||||||
|
var msg = "Reconciliation unimplemented for " + types;
|
||||||
alert(msg);
|
alert(msg);
|
||||||
throw(msg);
|
throw(msg);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue