Koha/koha-tmpl/intranet-tmpl/prog
Owen Leonard 1bd10a4a2e Bug 28928: Minor follow-ups to Bug 28376 - Flatpickr introduction
This patch corrects three errors in the original Flatpickr introduction
patch:

- Missing document.ready() in borrowers_stats.tt.
- Redundant calendarFirstDayOfWeek setting in caregories.js
- Missing preventDefault() in calendar.inc

The first two issues don't appear to cause any malfunction but are best
practices. The third issue can cause the page to scroll unexpectedly.

To reproduce this bug, go to (for instance) Administration -> Patron
categories -> New category.

 - If necessary, narrow the height of your browser window so that there
   is a vertical scrollbar.
 - Scroll down the page so that the "Until date" field is at the top.
 - Click the "X" next to the field.
 - The page will scroll to the top.

Apply the patch and test again. The page jump should not occur.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-09-01 15:46:01 +02:00
..
css Bug 28376: Compiled CSS 2021-08-30 18:08:26 +02:00
en Bug 28928: Minor follow-ups to Bug 28376 - Flatpickr introduction 2021-09-01 15:46:01 +02:00
img Bug 27523: Adding new itemtype lock image to carredart 2021-08-18 16:28:25 +02:00
js Bug 28928: Minor follow-ups to Bug 28376 - Flatpickr introduction 2021-09-01 15:46:01 +02:00
pdf
sound