Pull-request: #17852 Fixes: #17777 Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
commit
9b700c6307
@ -757,7 +757,8 @@ var makeGrid = function (t, enableResize, enableReorder, enableVisib, enableGrid
|
||||
if ($dp.length > 0) {
|
||||
// eslint-disable-next-line no-underscore-dangle
|
||||
$(document).on('mousedown', $.datepicker._checkExternalClick);
|
||||
$dp.datepicker('destroy');
|
||||
$dp.datepicker('refresh');
|
||||
|
||||
// change the cursor in edit box back to normal
|
||||
// (the cursor become a hand pointer when we add datepicker)
|
||||
$(g.cEdit).find('.edit_box').css('cursor', 'inherit');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user