Uncaught TypeError: Cannot read properties of null (reading 'inline') #17777

Signed-off-by: Vimal K <vimalinfo10@gmail.com>
This commit is contained in:
vimal K 2022-10-31 09:55:20 -05:00 committed by William Desportes
parent 296e6b62ce
commit fb0feafb7f
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -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');