From 7fa67b32d483766cfd5f864692645324f07cbd09 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Mon, 26 Sep 2011 01:27:16 +0000 Subject: [PATCH] Fix comment --- chrome/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 index 7ec5b04e7..995c629b6 100644 --- 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));