From db69f23c203df618680e733c697582e196b421bf Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 15 Jan 2020 08:41:34 +0100 Subject: [PATCH] modal.js: Don't push form submits to the history --- public/js/icinga/behavior/modal.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/js/icinga/behavior/modal.js b/public/js/icinga/behavior/modal.js index 7a616e8e0..082b941b1 100644 --- a/public/js/icinga/behavior/modal.js +++ b/public/js/icinga/behavior/modal.js @@ -92,6 +92,7 @@ var $modal = $form.closest('#modal'); var req = _this.icinga.loader.submitForm($form, $autoSubmittedBy); + req.addToHistory = false; req.$redirectTarget = $modal.data('redirectTarget'); req.done(function (data, textStatus, req) { if (req.getResponseHeader('X-Icinga-Redirect')) {