diff --git a/src/www/diag_packet_capture.php b/src/www/diag_packet_capture.php index bfb74d848..3315866db 100644 --- a/src/www/diag_packet_capture.php +++ b/src/www/diag_packet_capture.php @@ -319,6 +319,12 @@ include("head.inc"); } }); }); + $("#select_all").click(function(e){ + e.preventDefault(); + $("#interface option").prop("selected", $("#select_all > i").hasClass("fa-check-square-o")); + $("#select_all > i").toggleClass("fa-check-square-o fa-square-o"); + $("#interface").selectpicker('refresh'); + }); }); @@ -349,7 +355,7 @@ include("fbegin.inc"); - $ifacename): ?>