www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 7fa67b32d483766cfd5f864692645324f07cbd09
parent 3c8ed5b27357d773f790ab5c1c82983707c38273
Author: Simon Kornblith <simon@simonster.com>
Date:   Mon, 26 Sep 2011 01:27:16 +0000

Fix comment


Diffstat:
Mchrome/content/zotero/xpcom/utilities.js | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js @@ -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));