mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 10:04:07 +02:00
Fix AJAX history after reload
This commit is contained in:
@@ -367,6 +367,8 @@ function ajaxSend(url, data, popState) {
|
||||
onpopstate = function (event) {
|
||||
if (event.state ? confirm(areYouSure) : ajaxState) {
|
||||
ajaxSend(location.href, event.state, 1); // 1 - disable pushState
|
||||
} else {
|
||||
ajaxState++;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user