Summary: | Add datepicker widget default configuration to OPAC patron entry form | ||
---|---|---|---|
Product: | Koha | Reporter: | Owen Leonard <oleonard> |
Component: | OPAC | Assignee: | Owen Leonard <oleonard> |
Status: | CLOSED FIXED | QA Contact: | Jonathan Druart <jonathan.druart> |
Severity: | normal | ||
Priority: | P5 - low | CC: | dcook, jonathan.druart |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 9970 - Add datepicker default configuration to OPAC patron entry form
Bug 9970 - Add datepicker default configuration to OPAC patron entry form Bug 9970 - Add datepicker default configuration to OPAC patron entry form |
Description
Owen Leonard
2013-04-02 12:57:21 UTC
Created attachment 17127 [details] [review] 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. Created attachment 17152 [details] [review] 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. Created attachment 17159 [details] [review] 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> This patch has been pushed to master. |