From 85e9f06510e1950cb94cee4de48e420584425923 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 9 Apr 2021 17:03:28 +0200 Subject: [PATCH] js: Mark autosubmits as autosubmits, not as autorefreshes fixes #4346 --- public/js/icinga/loader.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/js/icinga/loader.js b/public/js/icinga/loader.js index 1e6cc6669..5c07ff323 100644 --- a/public/js/icinga/loader.js +++ b/public/js/icinga/loader.js @@ -181,8 +181,9 @@ } } - var req = this.loadUrl(url, $target, data, method, undefined, !! $autoSubmittedBy); + var req = this.loadUrl(url, $target, data, method); req.forceFocus = $autoSubmittedBy ? $autoSubmittedBy : $button.length ? $button : null; + req.autosubmit = !! $autoSubmittedBy; req.addToHistory = method === 'GET'; req.progressTimer = progressTimer;