Fixed table column visibility selection

This commit is contained in:
Bernd Bestel 2023-05-13 14:28:50 +02:00
parent 9cdb0908d6
commit 491412807c
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -1034,7 +1034,7 @@ $(".change-table-columns-visibility-button").on("click", function(e)
var title = headerCell.text();
var visible = this.visible();
if (!title || title.startsWith("Hidden") || headerCell.hasClass("d-none"))
if (!title || title.trim().length == 0 || title.startsWith("Hidden") || headerCell.hasClass("d-none"))
{
return;
}