From 5ca56bf8b380644ddc35d5f72c8f14707489efdc Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 9 Nov 2023 08:05:34 +0000 Subject: [PATCH] Bug 35298: Remove focus handler from dateaccessioned plugin. Test plan: Verify that setting focus to date acquired field in items editor fills date of today when field is empty but does not replace existing date. Signed-off-by: Marcel de Rooy Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 0583deac95b35f1ad96493262e922d7ac3eef102) Signed-off-by: Fridolin Somers --- cataloguing/value_builder/dateaccessioned.pl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cataloguing/value_builder/dateaccessioned.pl b/cataloguing/value_builder/dateaccessioned.pl index 0c14b96f11..808fc80116 100755 --- a/cataloguing/value_builder/dateaccessioned.pl +++ b/cataloguing/value_builder/dateaccessioned.pl @@ -39,10 +39,6 @@ my $builder = sub { }); }); -function Focus$function_name(event) { - set_to_today(event.data.id); -} - function Click$function_name(event) { set_to_today(event.data.id, 1); return false; -- 2.39.5