From fb0feafb7f8b96cd65ee5daa30208391f6d1bcf4 Mon Sep 17 00:00:00 2001 From: vimal K Date: Mon, 31 Oct 2022 09:55:20 -0500 Subject: [PATCH 1/2] Uncaught TypeError: Cannot read properties of null (reading 'inline') #17777 Signed-off-by: Vimal K --- js/src/makegrid.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/src/makegrid.js b/js/src/makegrid.js index e30a34c3ce..e23a2b9347 100644 --- a/js/src/makegrid.js +++ b/js/src/makegrid.js @@ -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'); From e99bfaee4b5d9888ebb4813b5de8d0edc630dde8 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Thu, 3 Nov 2022 21:35:33 +0100 Subject: [PATCH 2/2] Add a ChangeLog entry for #17777 Signed-off-by: William Desportes --- ChangeLog | 1 + 1 file changed, 1 insertion(+) diff --git a/ChangeLog b/ChangeLog index 17589f9509..f893156af6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -56,6 +56,7 @@ phpMyAdmin - ChangeLog - issue #17553 Fix Metro theme login form with - issue #16042 Exported gzip file of database has first ~73 kB uncompressed and rest is gzip compressed in Firefox - issue #17705 Fix inline SQL query edit FK checkbox preventing submit buttons from working +- issue #17777 Fix Uncaught TypeError: Cannot read properties of null (reading 'inline') on datepickers when re-opened 5.2.0 (2022-05-10) - issue #16521 Upgrade Bootstrap to version 5