From 1765eb70040313531ef1bf9a278ac093f96d8427 Mon Sep 17 00:00:00 2001 From: Benbb96 Date: Fri, 19 Jun 2020 10:05:29 +0200 Subject: [PATCH] Update ticket_list.html Fix javascript buttons for bulk select all/none/inverse --- helpdesk/templates/helpdesk/ticket_list.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/helpdesk/templates/helpdesk/ticket_list.html b/helpdesk/templates/helpdesk/ticket_list.html index 7d17b999..6a851278 100644 --- a/helpdesk/templates/helpdesk/ticket_list.html +++ b/helpdesk/templates/helpdesk/ticket_list.html @@ -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; });