Fix Zotero.CreatorTypes.getTypesForItemType in connector
This commit is contained in:
parent
4a86b2112d
commit
7202e8c2ba
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user