[Koha-bugs] [Bug 31665] 952$d ( Date acquired ) no longer prefills with todays date when focused

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 9 22:04:43 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31665

--- Comment #7 from Lucas Gass <lucas at bywatersolutions.com> ---
Looking back at 21.05.x I see that this works with via the dateaccessioned.pl
plugin. In the dateaccessioned.pl code there is this event handler:

function Focus$function_name(event) {
    set_to_today(event.data.id);
}


Looking at master now I see that the event handler is still there on the
'tag_952_subfield_d_' element but has an input type of 'type="hidden"'. That is
being hidden by flatpickr, so the event needs to be attached to the Flatpickr
wrapper.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list