bootstrap-datetimepicker
bootstrap-datetimepicker copied to clipboard
Recent bug where datetimepicker auto hides
I recently upgraded bootstrap-datetimepicker.js from a version prior to Dec 2016.
I had multiple buttons that would call $('#datetimepicker').datetimepicker('show'); to display the datetime picker.
It looks like the newest version of the JS file has broken this and nothing happens when I click on any of those buttons. A little big of debugging shows that the show and hide events are both being called one after the other.
It looks like this is the commit that is causing the issue
https://github.com/smalot/bootstrap-datetimepicker/commit/82070f02926a1c4763446aecf22ba08433e7ddb4#diff-27d24a365a394aedb95fbcf2d7d96d14