From 21e70bc00f8627bec4e6f69e541730eabb60f567 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Tue, 19 Oct 2010 00:11:54 +0200 Subject: [PATCH] IE compatibility --- adminer/static/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/static/functions.js b/adminer/static/functions.js index f1439bf4..c355f4b2 100644 --- a/adminer/static/functions.js +++ b/adminer/static/functions.js @@ -230,7 +230,7 @@ function ajaxForm(form, data) { params.push(data); } if (form.method == 'post') { - return ajaxMain(form.action || location.href, params.join('&')); + return ajaxMain((/\?/.test(form.action) ? form.action : location.href), params.join('&')); // ? - always part of Adminer URL } else { return ajaxMain((form.action || location.pathname) + '?' + params.join('&')); }