mirror of
https://github.com/vrana/adminer.git
synced 2025-08-15 11:04:02 +02:00
Don't save AJAX redirect to history
This commit is contained in:
@@ -292,9 +292,6 @@ function ajaxSend(url, data, popState) {
|
|||||||
}
|
}
|
||||||
var redirect = xmlhttp.getResponseHeader('X-AJAX-Redirect');
|
var redirect = xmlhttp.getResponseHeader('X-AJAX-Redirect');
|
||||||
if (redirect) {
|
if (redirect) {
|
||||||
if (history.replaceState) {
|
|
||||||
history.replaceState(null, '', redirect);
|
|
||||||
}
|
|
||||||
return ajaxSend(redirect);
|
return ajaxSend(redirect);
|
||||||
}
|
}
|
||||||
onblur = function () { };
|
onblur = function () { };
|
||||||
|
Reference in New Issue
Block a user