]> git.joonet.de Git - adminer.git/commitdiff
Don't save AJAX redirect to history
authorJakub Vrana <jakub@vrana.cz>
Tue, 15 Mar 2011 17:13:54 +0000 (18:13 +0100)
committerJakub Vrana <jakub@vrana.cz>
Tue, 15 Mar 2011 17:13:54 +0000 (18:13 +0100)
adminer/static/functions.js

index 11bb20660f07d66035af476f5f3d5a9629cbee9a..a35d22bf4ec37879ba1e5a740c36f15f3fefcc70 100644 (file)
@@ -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 () { };