Fix Zotero.CreatorTypes.getTypesForItemType in connector

This commit is contained in:
Simon Kornblith 2012-01-22 13:29:15 -05:00
parent 4a86b2112d
commit 7202e8c2ba

View File

@ -107,8 +107,8 @@ Zotero.Connector_Types = new function() {
for(var i=0; i<n; i++) {
var creatorType = creatorTypes[itemCreatorTypes[i]];
outputTypes.push({"id":creatorType[0]/* id */,
"name":creatorType[1]/* name */});
outputTypes[i] = {"id":creatorType[0]/* id */,
"name":creatorType[1]/* name */};
}
return outputTypes;
};