From 8e5d9d07564516a191354babab9544dbc77fcfbe Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Tue, 15 Mar 2011 18:13:54 +0100 Subject: [PATCH] Don't save AJAX redirect to history --- adminer/static/functions.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/adminer/static/functions.js b/adminer/static/functions.js index 11bb20660..a35d22bf4 100644 --- a/adminer/static/functions.js +++ b/adminer/static/functions.js @@ -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 () { };