commit 7202e8c2ba101a21ef15f7c6b64e4c806bfdebe6 parent 4a86b2112d62073dca9088b84529db0114716102 Author: Simon Kornblith <simon@simonster.com> Date: Sun, 22 Jan 2012 13:29:15 -0500 Fix Zotero.CreatorTypes.getTypesForItemType in connector Diffstat:
| M | chrome/content/zotero/xpcom/connector/cachedTypes.js | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/xpcom/connector/cachedTypes.js b/chrome/content/zotero/xpcom/connector/cachedTypes.js @@ -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; };