From 8047afde1318c46e0572f7686fa18ac5f9b50584 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Fri, 3 Feb 2023 11:58:51 +0100 Subject: [PATCH] Bug 32817: Fix cataloguing/value_builder/dateaccessioned.pl Remove unnecessary call to event.preventDefault() This is part of the refactoring happening in bug 30975 Test plan: 1. Verify that the plugin continues to work as before Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- cataloguing/value_builder/dateaccessioned.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/cataloguing/value_builder/dateaccessioned.pl b/cataloguing/value_builder/dateaccessioned.pl index 48c44e5647..29aee40581 100755 --- a/cataloguing/value_builder/dateaccessioned.pl +++ b/cataloguing/value_builder/dateaccessioned.pl @@ -44,7 +44,6 @@ function Focus$function_name(event) { } function Click$function_name(event) { - event.preventDefault(); set_to_today(event.data.id, 1); } -- 2.39.5