Show More
@@ -70,6 +70,13 b' autoRefresh = function(value) {' | |||||
70 | var loadData = function() { |
|
70 | var loadData = function() { | |
71 | currentRequest = $.get(url) |
|
71 | currentRequest = $.get(url) | |
72 | .done(function(data) { |
|
72 | .done(function(data) { | |
|
73 | ||||
|
74 | if(data.indexOf('id="processTimeStamp"') === -1){ | |||
|
75 | clearInterval(intervalID); | |||
|
76 | $('#procList').html('ERROR LOADING DATA. PLEASE REFRESH THE PAGE'); | |||
|
77 | return | |||
|
78 | } | |||
|
79 | ||||
73 | currentRequest = null; |
|
80 | currentRequest = null; | |
74 | $('#procList').html(data); |
|
81 | $('#procList').html(data); | |
75 | timeagoActivate(); |
|
82 | timeagoActivate(); |
General Comments 0
You need to be logged in to leave comments.
Login now