mirror of
https://github.com/zotero/zotero.git
synced 2026-09-23 00:43:17 +00:00
Fix comment
This commit is contained in:
parent
3c8ed5b273
commit
7fa67b32d4
1 changed files with 3 additions and 2 deletions
|
|
@ -861,10 +861,11 @@ Zotero.Utilities = {
|
|||
},
|
||||
|
||||
/**
|
||||
* Find valid creator types for a given item type
|
||||
* Determine whether a given field is valid for a given item type
|
||||
*
|
||||
* @param {String} field Field name
|
||||
* @param {String} type Item type
|
||||
* @return {String[]} Creator types
|
||||
* @type Boolean
|
||||
*/
|
||||
"fieldIsValidForType":function(field, type) {
|
||||
return Zotero.ItemFields.isValidForType(field, Zotero.ItemTypes.getID(type));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue