mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Merge pull request #23 from macrouch/master
Trigger onChangeMonth when month picker is used to switch months
This commit is contained in:
commit
838a71bdc8
@ -271,6 +271,7 @@
|
||||
_xdsoft_datetime.currentTime[$(this).parent().parent().hasClass('xdsoft_monthselect')?'setMonth':'setFullYear']($(this).data('value'));
|
||||
$(this).parent().parent().hide();
|
||||
datetimepicker.trigger('xchange.xdsoft');
|
||||
options.onChangeMonth&&options.onChangeMonth.call&&options.onChangeMonth.call(datetimepicker,_xdsoft_datetime.currentTime,datetimepicker.data('input'));
|
||||
});
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user