Uncaught TypeError: Cannot read properties of null (reading 'inline') #17777
Signed-off-by: Vimal K <vimalinfo10@gmail.com>
This commit is contained in:
parent
296e6b62ce
commit
fb0feafb7f
@ -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