Do not show "Original length undefined" on binary hex columns

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2023-02-28 01:30:50 +01:00
parent 86e6d1270b
commit b3c35c2045
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889
2 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,7 @@ phpMyAdmin - ChangeLog
- issue #18120 Fix bug with numerical tables during renaming database
- issue #16851 Fix ($cfg['Order']) default column order doesn't have have any effect since phpMyAdmin 4.2.0
- issue #18112 Fix open base dir warning on git version class
- issue Do not show "Original length undefined" on binary hex columns
5.2.1 (2023-02-07)
- issue #17522 Fix case where the routes cache file is invalid

View File

@ -2181,6 +2181,9 @@ var makeGrid = function (t, enableResize, enableReorder, enableVisib, enableGrid
// wrap all truncated data cells with span indicating the original length
// todo update the original length after a grid edit
$(t).find('td.data.truncated:not(:has(span))')
.filter(function () {
return $(this).data('originallength') !== undefined;
})
.wrapInner(function () {
return '<span title="' + Messages.strOriginalLength + ' ' +
$(this).data('originallength') + '"></span>';