eternicode/bootstrap-datepicker — pull request #677 by fabdouglas (2013-10-30 22:15:39+00:00)
Title: Fix focus behavior on show/hide from add-on or input

Fix focus behavior on show/hide from add-on or input, based on work of #188
Fixed behavior :
- on click on add-on, the corresponding input get focus
- on hide of picker ESCAPE or selction+autoclose, input get focus
- on click on input, the picker is displayed but input keeps focus (including in modal container case)