From 74c74fd78601a7d4accad8eef81c83861f40ae16 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. Content-Type: text/plain; charset=utf-8 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 --- 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.30.2