Skip to content
Snippets Groups Projects
Commit 74bf37c9 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#671 - fixed cookie handling in global account select

parent 3fb57d9b
No related branches found
No related tags found
No related merge requests found
...@@ -19,12 +19,14 @@ $(document).ready(function() ...@@ -19,12 +19,14 @@ $(document).ready(function()
$("#global-datepicker-select-year .global-datepicker-item").click(function() $("#global-datepicker-select-year .global-datepicker-item").click(function()
{ {
selectYear(this.innerText); selectYear(this.innerText.substr(2, 2));
}); });
$("#global-datepicker-select-month .global-datepicker-item").click(function() $("#global-datepicker-select-month .global-datepicker-item").click(function()
{ {
selectMonth($("#global-datepicker-select-month .global-datepicker-item").index(this) + 1); let month = $("#global-datepicker-select-month .global-datepicker-item").index(this) + 1
month = String(month).padStart(2, 0);
selectMonth(month);
}); });
enableGlobalDatePickerHotKeys(); enableGlobalDatePickerHotKeys();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment