LSP: fixed log retrieval interval running while on other tabs

This commit is contained in:
Cat 2013-05-13 14:38:22 +02:00
parent 96e8523c51
commit 48c296fc3c

View file

@ -78,6 +78,9 @@
// and this one is used on the protocols page. // and this one is used on the protocols page.
var pinterval = null; var pinterval = null;
// ..and the logs page.
var logsinterval = null;
// what kind of streams should be displayed? Format is [recorded, live]; // what kind of streams should be displayed? Format is [recorded, live];
var streamsdisplay = [true, true]; var streamsdisplay = [true, true];
@ -95,6 +98,7 @@
$('#page').html(''); $('#page').html('');
clearInterval(sinterval); clearInterval(sinterval);
clearInterval(pinterval); clearInterval(pinterval);
clearInterval(logsinterval);
switch(name) switch(name)
{ {