-
Bug
-
Resolution: Fixed
-
Normal
-
3.1.1
-
None
Steps to Reproduce
<calendars height="100%" width="100%" beginTime="8" onDayClick="System.out.println(event)" onWeekClick="" />
1. click day header e.g. Mon 3/6
Current Result
the component doesn't fire onDayClick event
Expected Result
the component fires onDayClick event
Debug Information
Calendars.js
addDayClickEvent_: function (element) { ... if (target.tagName == 'SPAN') widget.fire('onDayClick',{data:[target.time]});
But there is no span in calendar 3.x, it works in 2.x
case2: Steps to reproduce
<button label="setday 5" onClick='cal.setDays(5)'/> <label id="msg"/> <calendars id="cal" height="90%" days="1" width="800px" mold="default" onDayClick="System.out.println(event.data)"/>
- click the button to set days to 5
- check click listener on the header
Current Result
no click listener
Expected result
a listener on day-header like:
Workaround
- relates to
-
ZKCAL-109 the hovering effect of texts day-of-week is gone
- Closed