diff --git a/templates/history.tmpl b/templates/history.tmpl index 5dfd1d42edb..4d6f4e296f4 100644 --- a/templates/history.tmpl +++ b/templates/history.tmpl @@ -153,7 +153,7 @@ this.interval = setInterval( function() { q.get(this.state_url, function(new_state) { //if (stop_states.indexOf(new_state) >= 0) { clearInterval( this.interval ); } - if ((new_state == "ok") || (new_state == "error")) { + if ((new_state == "ok") || (new_state == "error") || (new_state == "empty")) { clearInterval( this.interval ); } if (this.old_state != new_state) { @@ -368,7 +368,7 @@ div#footer { #end for