Merge branch '3.0'

This commit is contained in:
Dan Stillman 2012-02-10 14:11:14 -05:00
commit 6592124ef2

View File

@ -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");