Skip to content

Commit

Permalink
Added workaround for systemlog page issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandre committed Jun 28, 2021
1 parent 117c865 commit 3c510b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions www/template/dist/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,10 @@ var ajaxReq = function () {
respProc(msg);
})
.fail(function(msg) {
// This is workaround for ublockORIGIN browser plugin which blocks get HTML requests(logs page - issue #474).
console.error('Request failed redirecting to ' + form_act)
location.href = location.origin + form_act

if (error_ajax) alert('err ajax');

if ((callback_func !== null) && (typeof(callback_func === 'function'))) {
Expand Down

0 comments on commit 3c510b2

Please sign in to comment.