modal.js: Don't push form submits to the history

This commit is contained in:
Johannes Meyer 2020-01-15 08:41:34 +01:00
parent 73a4d8ac31
commit db69f23c20
1 changed files with 1 additions and 0 deletions

View File

@ -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')) {