From c38020bc39ea91d121d495609ed2d01523d4dc35 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Sun, 18 Nov 2018 19:11:52 +0100 Subject: [PATCH] firmware: fix these jquery selectors --- src/opnsense/mvc/app/views/OPNsense/Core/firmware.volt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/opnsense/mvc/app/views/OPNsense/Core/firmware.volt b/src/opnsense/mvc/app/views/OPNsense/Core/firmware.volt index 1a1e5c155..35646dbd0 100644 --- a/src/opnsense/mvc/app/views/OPNsense/Core/firmware.volt +++ b/src/opnsense/mvc/app/views/OPNsense/Core/firmware.volt @@ -134,7 +134,7 @@ $("#upgrade_progress" + maj_suffix).addClass("fa fa-spinner fa-pulse"); ajaxCall('/api/core/firmware/upgrade',{upgrade:$.upgrade_action},function() { - $('#updatelist > tbody, thead').empty(); + $('#updatelist > tbody, #updatelist > thead').empty(); setTimeout(trackStatus, 500); }); } @@ -153,7 +153,7 @@ $("#audit_progress").addClass("fa fa-spinner fa-pulse"); ajaxCall('/api/core/firmware/' + $type, {}, function () { - $('#updatelist > tbody, thead').empty(); + $('#updatelist > tbody, #updatelist > thead').empty(); setTimeout(trackStatus, 500); }); } @@ -253,7 +253,7 @@ $.upgrade_action = 'action'; ajaxCall('/api/core/firmware/'+pkg_act+'/'+pkg_name,{},function() { - $('#updatelist > tbody, thead').empty(); + $('#updatelist > tbody, #updatelist > thead').empty(); setTimeout(trackStatus, 500); }); }