eternicode/bootstrap-datepicker — pull request #51 by afortaleza (2012-04-22 16:25:02+00:00)
Title: Autoclose now works for datepicker component

Autoclose was not working for datepicker component because the .blur() method was being called at the input level, and this event had no binding when the datepicker was configured as a component. I have added the binding to the input, it works with the original code now. I have chose this approach to preserve any other code associated with the hiding of the calendar.