Fixed the header checkbox for to select all. Ticket #1465

This commit is contained in:
mdtrooper 2014-10-17 12:55:52 +02:00
parent fd56c5cf37
commit b26aa1baf7
1 changed files with 3 additions and 3 deletions

View File

@ -607,11 +607,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", true);
}
}
</script>