diff --git a/koha-tmpl/intranet-tmpl/prog/js/pages/batchMod.js b/koha-tmpl/intranet-tmpl/prog/js/pages/batchMod.js index ed51892fd3..ac425b46d5 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/pages/batchMod.js +++ b/koha-tmpl/intranet-tmpl/prog/js/pages/batchMod.js @@ -5,7 +5,7 @@ date.setTime(date.getTime() + 365 * 24 * 60 * 60 * 1000); function guess_nb_cols() { // This is a bit ugly, we are trying to know if there are checkboxes in the first column of the table - if ($("#itemst tr:first th:first").html() == "") { + if ($("#itemst tr:first th:first .dt-column-title").html() == "") { // First header is empty, it's a checkbox return 3; } else {