Fix calendar week selection from mini calendar
This commit is contained in:
parent
978c9023e5
commit
fb6ccee2f7
1 changed files with 1 additions and 1 deletions
|
@ -3642,7 +3642,7 @@ function rcube_calendar_ui(settings)
|
|||
})) // set event handler for clicks on calendar week cell of the datepicker widget
|
||||
.on('click', 'td.ui-datepicker-week-col', function(e) {
|
||||
var cell = $(e.target);
|
||||
if (e.target.tagName == 'TD' && cell.hasClass('')) {
|
||||
if (e.target.tagName == 'TD') {
|
||||
var base_date = minical.datepicker('getDate');
|
||||
if (minical.data('month'))
|
||||
base_date.setMonth(minical.data('month')-1);
|
||||
|
|
Loading…
Add table
Reference in a new issue