Univention Bugzilla – Bug 45491
Styling for Calendar widget is broken
Last modified: 2017-10-10 15:38:53 CEST
Created attachment 9240 [details] Calendar_styling__old_and_new The structure of the dijit/Calendar widget changed (probably with the update to dojo 1.12 Bug #42291) and the old styling is therefore broken.
Patch: https://git.knut.univention.de/univention/ucs/tree/jkeiser/bug_45491__calendar_styling See screenshot. This patch also adds a textbox to the calendar to make selecting far off years easier
2f376a8 Bug #45491: Adjust styling for Calendar widget 796bf9c Bug #45491: Add inputfield for the year to Calendar widget 3fbf3a2 Bug #45491: Adjust styling for year input of the Calendar widget 18461e4 Bug #45491: Improve tabhandling for DateBox/Calendar Widget 00d99f7 Bug #45491: Add navigation tooltip to Calendar 1b89761 Bug #45491: Debian changelog entry b1476ee Bug #45491: Merge branch 'jkeiser/bug_45491__calendar_styling' into 4.2-2 271a694 Bug #45491: YAML
univention-web (1.0.42-47): (In reply to Johannes Keiser from comment #2) > 2f376a8 Bug #45491: Adjust styling for Calendar widget > 796bf9c Bug #45491: Add inputfield for the year to Calendar widget > 3fbf3a2 Bug #45491: Adjust styling for year input of the Calendar widget > 18461e4 Bug #45491: Improve tabhandling for DateBox/Calendar Widget > 00d99f7 Bug #45491: Add navigation tooltip to Calendar > 1b89761 Bug #45491: Debian changelog entry > b1476ee Bug #45491: Merge branch 'jkeiser/bug_45491__calendar_styling' into > 4.2-2 > 271a694 Bug #45491: YAML
f7c44a8 Bug #45491: Fix typo 5ead8d5 Bug #45491: YAML
Well, the patch does more than fixing the styling. It adds keyboard shortcuts which can be make visible by pressing "?". In Internet Explorer 11 if you enter "56" as year it will display a lot of "NaN" and "undefined". It is also possible to enter negative years. Firefox and Chromium are OK. Also the background color differs when hovering one day and selecting via the keyboard cursors another day. But I think the general behavior & design improved and we need to release the errata updates. OK: YAML
<http://errata.software-univention.de/ucs/4.2/195.html>