mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fix git issue https://github.com/wso2/product-iots/issues/1629
Fixes wso2/product-iots#1629
This commit is contained in:
parent
2cd3b81aaa
commit
9cc76da4c2
@ -239,12 +239,14 @@ $.fn.datatables_extended = function(settings){
|
|||||||
thisTable.api().rows().every(function () {
|
thisTable.api().rows().every(function () {
|
||||||
$(this.node()).addClass(rowSelectedClass);
|
$(this.node()).addClass(rowSelectedClass);
|
||||||
$(button).html('Deselect All');
|
$(button).html('Deselect All');
|
||||||
|
$('.bulk-action-row').addClass('hidden');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else if($(button).html() == 'Deselect All') {
|
else if($(button).html() == 'Deselect All') {
|
||||||
thisTable.api().rows().every(function () {
|
thisTable.api().rows().every(function () {
|
||||||
$(this.node()).removeClass(rowSelectedClass);
|
$(this.node()).removeClass(rowSelectedClass);
|
||||||
$(button).html('Select All');
|
$(button).html('Select All');
|
||||||
|
$('.bulk-action-row').removeClass('hidden');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -306,12 +306,14 @@ $.fn.datatables_extended_serverside_paging = function (settings, url, dataFilter
|
|||||||
thisTable.api().rows().every(function () {
|
thisTable.api().rows().every(function () {
|
||||||
$(this.node()).addClass(rowSelectedClass);
|
$(this.node()).addClass(rowSelectedClass);
|
||||||
$(button).html('Deselect All');
|
$(button).html('Deselect All');
|
||||||
|
$('.bulk-action-row').addClass('hidden');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else if ($(button).html() == 'Deselect All') {
|
else if ($(button).html() == 'Deselect All') {
|
||||||
thisTable.api().rows().every(function () {
|
thisTable.api().rows().every(function () {
|
||||||
$(this.node()).removeClass(rowSelectedClass);
|
$(this.node()).removeClass(rowSelectedClass);
|
||||||
$(button).html('Select All');
|
$(button).html('Select All');
|
||||||
|
$('.bulk-action-row').removeClass('hidden');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user