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 <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 0583deac95)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 5ca56bf8b3)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
Marcel de Rooy 2023-11-09 08:05:34 +00:00 committed by Matt Blenkinsop
parent f86419cea7
commit a0458e0300

View file

@ -39,10 +39,6 @@ my $builder = sub {
}); });
}); });
function Focus$function_name(event) {
set_to_today(event.data.id);
}
function Click$function_name(event) { function Click$function_name(event) {
set_to_today(event.data.id, 1); set_to_today(event.data.id, 1);
return false; return false;