Fixed checkbox(all) in module management. Ticket#3086

This commit is contained in:
Arturo Gonzalez 2015-12-21 14:44:47 +01:00
parent b50ccc1bd4
commit 24448197bf
1 changed files with 3 additions and 3 deletions

View File

@ -250,11 +250,11 @@ enterprise_hook('close_meta_frame');
?>
<script type="text/javascript">
function check_all_checkboxes() {
if ($("input[name=all_delete]").attr('checked')) {
$(".check_delete").attr('checked', true);
if ($("input[name=all_delete]").prop('checked')) {
$(".check_delete").prop('checked', true);
}
else {
$(".check_delete").attr('checked', false);
$(".check_delete").prop('checked', false);
}
}
</script>