Fix comment

This commit is contained in:
Simon Kornblith 2011-09-26 01:27:16 +00:00
parent 3c8ed5b273
commit 7fa67b32d4

View File

@ -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 * @param {String} type Item type
* @return {String[]} Creator types * @type Boolean
*/ */
"fieldIsValidForType":function(field, type) { "fieldIsValidForType":function(field, type) {
return Zotero.ItemFields.isValidForType(field, Zotero.ItemTypes.getID(type)); return Zotero.ItemFields.isValidForType(field, Zotero.ItemTypes.getID(type));