Fix unable to re-open datepicker after clicking 'today'

This commit is contained in:
Nathan Gray 2016-03-21 19:17:11 +00:00
parent e214a7153c
commit 47198549f7

View File

@ -168,6 +168,11 @@ String: A string in the user\'s date format, or a relative date. Relative dates
} }
},0); },0);
})
.datepicker('option','onClose', function(dateText, inst) {
// Lose focus, avoids an issue with focus
// not allowing datepicker to re-open
inst.input.blur();
}); });
} }