diff --git a/src/sunstone/public/js/sunstone-util.js b/src/sunstone/public/js/sunstone-util.js index ba1187360a..47a53d6b47 100644 --- a/src/sunstone/public/js/sunstone-util.js +++ b/src/sunstone/public/js/sunstone-util.js @@ -331,8 +331,10 @@ function initCheckAllBoxes(datatable){ var checked = $(this).attr('checked'); if (checked) { //check all $('tbody input.check_item',table).attr('checked','checked'); + $('td',table).addClass('markrowchecked'); } else { //uncheck all $('tbody input.check_item',table).removeAttr('checked'); + $('td',table).removeClass('markrowchecked'); }; recountCheckboxes(table); });