Item hierarchy in items pushed to server was lost
This commit is contained in:
parent
4ab573e4e7
commit
fe100d800b
1 changed files with 1 additions and 4 deletions
|
@ -2890,10 +2890,7 @@ Zotero.Sync.Server.Data = new function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item.primary.itemType == 'note' || item.primary.itemType == 'attachment') {
|
if (item.primary.itemType == 'note' || item.primary.itemType == 'attachment') {
|
||||||
if (item.sourceItemID) {
|
xml.@sourceItem = item.sourceItemKey;
|
||||||
var sourceItem = Zotero.Items.get(item.sourceItemID);
|
|
||||||
xml.@sourceItem = sourceItem.key;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Note
|
// Note
|
||||||
|
|
Loading…
Reference in a new issue