Display datepicker when click in field

This commit is contained in:
Olivier PEREZ 2015-05-24 23:51:54 +02:00
parent 67d0516161
commit 4392dde5dc

View File

@ -47,7 +47,7 @@ $(document).ready(function () {
});
};
$(document).on('click', '.input-group.date .input-group-addon', function () {
$(document).on('click', '.input-group.date .input-group-addon, .input-group.date input', function () {
// Re-init datepicker config before displaying
init_datepicker();
$(this).parent().datepicker('show');