mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-12 08:58:17 +03:00
Fix initCheckAllboxes for a given context
This commit is contained in:
parent
0c5beb5da1
commit
71ee8bba1e
@ -396,8 +396,8 @@ function prettyPrintRowJSON(field,value,padding,weight, border_bottom,padding_to
|
||||
function initCheckAllBoxes(datatable, custom_context){
|
||||
|
||||
//small css hack
|
||||
$('input.check_all').css({"border":"2px"});
|
||||
$('input.check_all').live("change",function(){
|
||||
$('input.check_all', datatable).css({"border":"2px"});
|
||||
$('input.check_all', datatable).live("change",function(){
|
||||
var table = $(this).closest('.dataTables_wrapper');
|
||||
var checked = $(this).attr('checked');
|
||||
if (checked) { //check all
|
||||
|
Loading…
x
Reference in New Issue
Block a user