Search and Top Navigation
#6116 closed bug (duplicate)
Opened September 27, 2010 06:25PM UTC
Closed September 27, 2010 06:33PM UTC
Datepicker: day with same day number as today is active in past and future months
| Reported by: | rdworth | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.9.0 |
| Component: | ui.datepicker | Version: | 1.8.4 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
This bug was introduced by #5676
See http://forum.jquery.com/topic/removing-highlighting-from-datepicker
Here's a workaround:
$("#datepicker").datepicker({
onChangeMonthYear: function() {
setTimeout(function() {
$(".ui-datepicker .ui-state-active").removeClass("ui-state-active");
}, 0);
}
});
1.8.5 workaround demo:
As for the bug, here are minimal test cases:
1.8.2 (before)
1.8.4 (after)
Steps to reproduce
1. Click in the text box to open the datepicker
2. Click forward a month or back a month
- Expected behavior: no dates are active
- Actual behavior: the day with the same day num as today's date is active
Attachments (0)
Change History (1)
Changed September 27, 2010 06:33PM UTC by comment:1
| resolution: | → duplicate |
|---|---|
| status: | new → closed |
Duplicate of #5984.