From 2b27f28e898f1987e4d8e726935ebf86d06eee1b Mon Sep 17 00:00:00 2001 From: Tino Vazquez Date: Tue, 19 Feb 2013 18:46:46 +0100 Subject: [PATCH] feature #1664: All check_boxes checkbox now has colors too! --- src/sunstone/public/js/sunstone-util.js | 2 ++ 1 file changed, 2 insertions(+) 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); });