commit fe100d800b867c2875c20320c90e97e4e679cb14 parent 4ab573e4e79cd10a59d7aefa4f3760e060b3d48d Author: Dan Stillman <dstillman@zotero.org> Date: Wed, 8 Jul 2009 04:11:43 +0000 Item hierarchy in items pushed to server was lost Diffstat:
| M | chrome/content/zotero/xpcom/sync.js | | | 5 | +---- |
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js @@ -2890,10 +2890,7 @@ Zotero.Sync.Server.Data = new function() { } if (item.primary.itemType == 'note' || item.primary.itemType == 'attachment') { - if (item.sourceItemID) { - var sourceItem = Zotero.Items.get(item.sourceItemID); - xml.@sourceItem = sourceItem.key; - } + xml.@sourceItem = item.sourceItemKey; } // Note