If there is an ajax error, and the error is unauthorized, then reload the page.
This commit is contained in:
parent
38c9ac1521
commit
dcf6e5da46
|
@ -274,6 +274,9 @@ function MonitorStream(monitorData) {
|
|||
// Assuming temporary problem, retry in a bit.
|
||||
setTimeout(this.streamCmdQuery.bind(this), 1000*statusRefreshTimeout);
|
||||
logAjaxFail(jqxhr, textStatus, error);
|
||||
if (textStatus == 'Unauthorized') {
|
||||
window.location.reload();
|
||||
}
|
||||
};
|
||||
|
||||
this.getStreamCmdResponse = function(respObj, respText) {
|
||||
|
|
Loading…
Reference in New Issue