Fix bug in report massive deletion

Former-commit-id: f3ebaed0f9a8530c0a81cc1655021d89e4234459
This commit is contained in:
alejandro-campos 2019-03-12 13:18:29 +01:00
parent 3b2d72308e
commit 610aeee3aa
1 changed files with 3 additions and 0 deletions

View File

@ -42,6 +42,9 @@ $( document ).ready(function() {
if ($("#checkbox-all_delete").prop("checked")) {
$('[id^=checkbox-massive_report_check]').parent().parent().parent().addClass('checkselected');
$(".check_delete").prop("checked", true);
$('.check_delete').each(function(){
$('#hidden-id_report_'+$(this).val()).prop("disabled", false);
});
}
else{
$('[id^=checkbox-massive_report_check]').parent().parent().parent().removeClass('checkselected');