Fix auto-refresh of log tabs
This commit is contained in:
@@ -200,8 +200,12 @@ from plexpy import helpers
|
|||||||
timer = setInterval(function() {
|
timer = setInterval(function() {
|
||||||
if ($("#tabs-1").hasClass("active")) {
|
if ($("#tabs-1").hasClass("active")) {
|
||||||
log_table.ajax.reload();
|
log_table.ajax.reload();
|
||||||
} else {
|
} else if ($("#tabs-2").hasClass("active")) {
|
||||||
plex_log_table.ajax.reload();
|
plex_log_table.ajax.reload();
|
||||||
|
} else if ($("#tabs-3").hasClass("active")) {
|
||||||
|
plex_scanner_log_table.ajax.reload();
|
||||||
|
} else if ($("#tabs-4").hasClass("active")) {
|
||||||
|
notification_log_table.ajax.reload();
|
||||||
}
|
}
|
||||||
}, 1000*refreshrate.value);
|
}, 1000*refreshrate.value);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user