www

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

commit 61f9b49ddcc53e7d7662da172a78823cd8ee22a9
parent 5c5967166f679bc859a0d7973abb020b42d62cf6
Author: Simon Kornblith <simon@simonster.com>
Date:   Fri, 10 Feb 2012 14:08:24 -0500

Fix getBaseIDFromTypeAndField

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 @@ -152,7 +152,7 @@ Zotero.Connector_Types = new function() { return false; }; - this.getBaseIDFromTypeAndField = function(itemType, fieldIdOrName) { + this.getBaseIDFromTypeAndField = function(typeIdOrName, fieldIdOrName) { var field = fields[fieldIdOrName], itemType = itemTypes[typeIdOrName]; if(!field || !itemType) { throw new Error("Invalid field or type ID");