Skip to content

Commit

Permalink
Don't save AJAX redirect to history
Browse files Browse the repository at this point in the history
  • Loading branch information
vrana committed Mar 15, 2011
1 parent 327b56b commit 8e5d9d0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions adminer/static/functions.js
Expand Up @@ -292,9 +292,6 @@ function ajaxSend(url, data, popState) {
}
var redirect = xmlhttp.getResponseHeader('X-AJAX-Redirect');
if (redirect) {
if (history.replaceState) {
history.replaceState(null, '', redirect);
}
return ajaxSend(redirect);
}
onblur = function () { };
Expand Down

0 comments on commit 8e5d9d0

Please sign in to comment.