commit 6b82ca8aa6901162f4c73e65a9b643d201178f64
parent 2197efc2df99b342d30fb6de4861d0172e91ca2c
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 27 Oct 2008 19:08:04 +0000
Fix creator glue
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js
@@ -2161,15 +2161,16 @@ Zotero.Sync.Server.Data = new function() {
newCreator.@id = creatorID;
newCreator.@creatorType = item.creators[index].creatorType;
newCreator.@index = index;
- xml.creator += newCreator;
// Add creator XML as glue if not already included in sync session
if (syncSession &&
syncSession.uploadIDs.updated.creators.indexOf(creatorID) == -1) {
var creator = Zotero.Creators.get(creatorID);
var creatorXML = Zotero.Sync.Server.Data.creatorToXML(creator);
- xml.creator.creator = creatorXML;
+ newCreator.creator = creatorXML;
}
+
+ xml.creator += newCreator;
}
// Related items