Skip to content
Snippets Groups Projects
Commit 8cd2dd85 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch '569-date-picker-for-date-of-birth-unusable' into 'master'

Resolve "Date picker for date of birth unusable"

Closes #569

See merge request !835
parents 8f4e5735 6d728354
No related branches found
No related tags found
1 merge request!835Resolve "Date picker for date of birth unusable"
Pipeline #46347 failed
......@@ -19,6 +19,7 @@ Fixed
* Correctly update theme colours on change again
* Use correct favicon as default AlekSIS favicon
* Show all years in a 200 year range around the current year in date pickers
Removed
~~~~~~~
......
......@@ -19,7 +19,8 @@ function initDatePicker(sel) {
// Set monday as first day of week
firstDay: get_format('FIRST_DAY_OF_WEEK'),
autoClose: true
autoClose: true,
yearRange: [new Date().getFullYear() - 100, new Date().getFullYear() + 100],
});
el.datepicker("setDate", $(sel).val());
return el;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment