1
0
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:
Jakub Vrana
2011-03-24 08:24:57 +01:00
parent 5ee14079b8
commit fa832055c8
4 changed files with 11 additions and 2 deletions

View File

@@ -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++;
}
}