From 61f9b49ddcc53e7d7662da172a78823cd8ee22a9 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Fri, 10 Feb 2012 14:08:24 -0500 Subject: [PATCH] Fix getBaseIDFromTypeAndField --- chrome/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 index 5e72b672c..b9433c6cf 100644 --- 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");