From 2741272ef02024b032be7404a8e20d1f92e2c650 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9l=C3=A8ne=20MJ?= Date: Mon, 15 Jul 2024 16:06:55 +0200 Subject: [PATCH] gh-53 Fix contributor role validation error message --- js/validation/things.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/validation/things.js b/js/validation/things.js index 2098e39..f81493a 100644 --- a/js/validation/things.js +++ b/js/validation/things.js @@ -307,7 +307,8 @@ var roleFieldValidators = { "startDate": validateDate, "endDate": validateDate, - "schema:author": validateActor + "schema:author": validateActor, + "contributor": validateActor }; var personFieldValidators = {