This commit is contained in:
Ross
2021-12-12 18:13:05 +00:00
parent d34caacbae
commit 2ece556666
+1 -3
View File
@@ -143,6 +143,7 @@ async function retrievePacketList() {
console.log(httpObj); console.log(httpObj);
if (httpObj.status == 401 || httpObj.status == 404) { if (httpObj.status == 401 || httpObj.status == 404) {
$.notify("Unable to login", "error"); $.notify("Unable to login", "error");
$("options-panel").show()
} }
}, },
}) })
@@ -156,9 +157,6 @@ async function retrievePacketList() {
} }
}).fail(function(jqXHR, textStatus, errorThrown) { }).fail(function(jqXHR, textStatus, errorThrown) {
console.log("No packet list available"); console.log("No packet list available");
if (jqXHR.status == 401 || jqXHR.status == 404) {
$.notify("Unable to login", "error");
}
//showLoginDialog(); //showLoginDialog();
}); });
}) })