trentrichardson / jQuery-Timepicker-Addon

Adds a timepicker to jQueryUI Datepicker
http://trentrichardson.com/examples/timepicker/
MIT License
2.66k stars 1.05k forks source link

Issue # 687 - Calendar remians open after date selection when showTimepicker = false #688

Closed spmorganjr closed 10 years ago

spmorganjr commented 10 years ago

There's an override to the _selectDate() method that prevents the calendar from closing after selecting a new date. If the timepicker is not enabled then there's no reason to execute this code, it should instead fire the base _selectDate() method since the jQuery Datepicker is designed to close upon selection.