mirror of
https://github.com/zotero/zotero.git
synced 2026-10-04 02:31:47 +00:00
Merge branch '3.0'
This commit is contained in:
commit
6592124ef2
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue