Bug 9970 - Add datepicker default configuration to OPAC patron entry form origin/new/bug_9970
authorOwen Leonard <oleonard@myacpl.org>
Tue, 2 Apr 2013 13:11:41 +0000 (09:11 -0400)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 3 Apr 2013 10:12:11 +0000 (06:12 -0400)
commit93db077cb28a085fee4757cdc3c9c1fc07c60ced
tree05c53afaecdf93f1ab8b245e2deff472ec7ee2a0
parentf531af3b132d963577165930fe120872845adc54
Bug 9970 - Add datepicker default configuration to OPAC patron entry form

The datepicker on the OPAC patron entry/update form
(opac-memberentry.pl) doesn't show a calendar icon. This is because
although there is in-page JS to trigger the widget, the page doesn't
include the file which sets some widget defaults, including the path to
the calendar icon and the translatable strings for calendar labels.

This patch simply adds calendar.inc to the template.

To test, load the patron entry/update form (click "personal details" for
an existing patron or a start new patron registration). The date of
birth entry field should show a calendar icon.

Signed-off-by: David Cook <dcook@prosentient.com.au>
Test plan works as described. Looks much better.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt