loader.js: Don't add form submits other than `GET`s to the history
This has previously not been an issue, as form submits seem to have never targeted another url than their container's current one. Though any form that did this, was pushed to history upon submit. This happens now only for `GET` forms.
This commit is contained in:
parent
e346c1c88c
commit
fbf3a1f757
|
@ -183,6 +183,7 @@
|
|||
|
||||
var req = this.loadUrl(url, $target, data, method);
|
||||
req.forceFocus = $autoSubmittedBy ? $autoSubmittedBy : $button.length ? $button : null;
|
||||
req.addToHistory = method === 'GET';
|
||||
req.progressTimer = progressTimer;
|
||||
return req;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue