mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-06-27 01:41:44 +02:00
bug fixes for 2.6.5
+ Added potential fixes for #34 and #39 + Added better error handling for #43
This commit is contained in:
@ -96,6 +96,13 @@
|
||||
$('<th>').text('Vendor')
|
||||
)
|
||||
);
|
||||
|
||||
if (data.error != undefined){
|
||||
$('#mdns-hosts').html(`<table class="ui celled unstackable table"><tbody></tbody></table>`);
|
||||
$('#mdns-hosts').find("tbody").append(`<tr><td colspan="5"><i class="ui red circle times icon"></i> ${data.error}</td></tr>`);
|
||||
$("#discover").addClass("disabled");
|
||||
return;
|
||||
}
|
||||
|
||||
// Create table body
|
||||
var tableBody = $('<tbody>');
|
||||
|
Reference in New Issue
Block a user