mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2024-12-12 18:00:45 +01:00
Update ticket_list.html
Fix javascript buttons for bulk select all/none/inverse
This commit is contained in:
parent
630cfd9179
commit
1765eb7004
@ -17,16 +17,16 @@ $(document).ready(function() {
|
||||
});
|
||||
|
||||
$("#select_all").click(function() {
|
||||
$(".ticket_multi_select").attr('checked', true);
|
||||
$(".ticket_multi_select").prop('checked', true);
|
||||
return false;
|
||||
});
|
||||
$("#select_none").click(function() {
|
||||
$(".ticket_multi_select").attr('checked', false);
|
||||
$(".ticket_multi_select").prop('checked', false);
|
||||
return false;
|
||||
});
|
||||
$("#select_inverse").click(function() {
|
||||
$(".ticket_multi_select").each(function() {
|
||||
$(this).attr('checked', !$(this).attr('checked'));
|
||||
$(this).prop('checked', !$(this).prop('checked'));
|
||||
});
|
||||
return false;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user