Fix problem changing item types

This commit is contained in:
Dan Stillman 2008-11-08 08:34:08 +00:00
parent 81622ea56f
commit 12fdfe7dc4

View file

@ -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);
}
}
}
}