eternicode/bootstrap-datepicker — pull request #582 by inukshuk (2013-08-05 16:03:17+00:00)
Title: Swallow ESC-key on hide

When closing the picker because ESC was pressed, stop propagating the keydown event, because the datepicker has already 'consumed' the key event. If the event is allowed to bubble up enclosing modal windows or dialogs might be closed as well.