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;