.
This commit is contained in:
+1
-3
@@ -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();
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user