mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Merge branch 'master' of https://github.com/xdan/datetimepicker
This commit is contained in:
commit
cd40ca7d3a
@ -1487,6 +1487,9 @@
|
|||||||
}
|
}
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
})
|
})
|
||||||
|
.on('toggle.xdsoft', function (event) {
|
||||||
|
datetimepicker.is(':visible') ? datetimepicker.trigger('close.xdsoft') : datetimepicker.trigger('open.xdsoft');
|
||||||
|
})
|
||||||
.data('input', input);
|
.data('input', input);
|
||||||
|
|
||||||
timer = 0;
|
timer = 0;
|
||||||
@ -1598,6 +1601,9 @@
|
|||||||
case 'hide':
|
case 'hide':
|
||||||
datetimepicker.trigger('close.xdsoft');
|
datetimepicker.trigger('close.xdsoft');
|
||||||
break;
|
break;
|
||||||
|
case 'toggle':
|
||||||
|
datetimepicker.trigger('toggle.xdsoft');
|
||||||
|
break;
|
||||||
case 'destroy':
|
case 'destroy':
|
||||||
destroyDateTimePicker($(this));
|
destroyDateTimePicker($(this));
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user