process-management: prevent from inject login page on session expiration.
This commit is contained in:
parent
b8619894a6
commit
f94ac01a59
1 changed files with 7 additions and 0 deletions
|
|
@ -70,6 +70,13 @@ autoRefresh = function(value) {
|
|||
var loadData = function() {
|
||||
currentRequest = $.get(url)
|
||||
.done(function(data) {
|
||||
|
||||
if(data.indexOf('id="processTimeStamp"') === -1){
|
||||
clearInterval(intervalID);
|
||||
$('#procList').html('ERROR LOADING DATA. PLEASE REFRESH THE PAGE');
|
||||
return
|
||||
}
|
||||
|
||||
currentRequest = null;
|
||||
$('#procList').html(data);
|
||||
timeagoActivate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue