mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
Firewall: Log Files: Live View - possible race condition when changing limit, make sure the fetch before the change isn't populated into the grid.
This commit is contained in:
parent
edd0d25423
commit
c730ce2023
@ -234,6 +234,9 @@
|
||||
if (status == 'error') {
|
||||
// stop poller on failure
|
||||
$("#auto_refresh").prop('checked', false);
|
||||
} else if (last_digest != '' && $("#grid-log > tbody > tr").length == 1){
|
||||
// $("#limit").change(); called, this request should be discarted (data grid reset)
|
||||
return;
|
||||
} else if (data !== undefined && data.length > 0) {
|
||||
let record;
|
||||
let trs = [];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user