Browse Source

v8.1.2: Update log file check to include 'waf' condition

Previously, the check for a selected log file didn't account for the 'waf' variable. This update adds a condition to ensure that the warning is triggered only if 'waf' is also an empty string.
master
Aidaho 3 days ago
parent
commit
b49edeb8d1
  1. 2
      app/static/js/script.js

2
app/static/js/script.js

@ -152,7 +152,7 @@ function showLog() {
file = file_from_get;
}
}
if (file === undefined || file === null) {
if ((file === undefined || file === null) && waf === '') {
toastr.warning('Select a log file first')
return false;

Loading…
Cancel
Save