commit 12fdfe7dc4fa901f22e31d855b048296816cf6f4
parent 81622ea56f40b1e5cd5cb0061adb77ef7eb6441c
Author: Dan Stillman <dstillman@zotero.org>
Date: Sat, 8 Nov 2008 08:34:08 +0000
Fix problem changing item types
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js
@@ -419,9 +419,8 @@ Zotero.Item.prototype.setType = function(itemTypeID, loadIn) {
}
var target = newPrimary ? newPrimary : 2;
- // Reset to contributor (creatorTypeID 2), which exists in all
- this.setCreator(i, creators[i].firstName,
- creators[i].lastName, target, creators[i].fieldMode); }
+ this.setCreator(i, creators[i].ref, target);
+ }
}
}
}