firmware: fix these jquery selectors

This commit is contained in:
Franco Fichtner 2018-11-18 19:11:52 +01:00
parent bb90be17c7
commit c38020bc39

View File

@ -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);
});
}