www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit d27b0654e85c23afd5b6176a0529194328ec4c4c
parent ec391d9346e4a389c9b4c037dc33295dbd953013
Author: Simon Kornblith <simon@simonster.com>
Date:   Sat, 14 Jul 2012 16:42:14 -0400

Fix Zotero.ItemFields.getFieldIDFromTypeAndBase in connector

Diffstat:
Mchrome/content/zotero/xpcom/connector/cachedTypes.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/connector/cachedTypes.js b/chrome/content/zotero/xpcom/connector/cachedTypes.js @@ -143,7 +143,7 @@ Zotero.Connector_Types = new function() { // loop through base fields for item type var baseFields = itemType[5]; - for(var i=0, n=baseFields.length; i<n; i++) { + for(var i in baseFields) { if(baseFields[i] === baseField) { return i; }