modal.js: Don't push form submits to the history
This commit is contained in:
parent
73a4d8ac31
commit
db69f23c20
|
@ -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')) {
|
||||
|
|
Loading…
Reference in New Issue