Item hierarchy in items pushed to server was lost

This commit is contained in:
Dan Stillman 2009-07-08 04:11:43 +00:00
parent 4ab573e4e7
commit fe100d800b

View file

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