mirror of
https://github.com/vrana/adminer.git
synced 2025-08-16 03:24:01 +02:00
IE compatibility
This commit is contained in:
@@ -230,7 +230,7 @@ function ajaxForm(form, data) {
|
|||||||
params.push(data);
|
params.push(data);
|
||||||
}
|
}
|
||||||
if (form.method == 'post') {
|
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 {
|
} else {
|
||||||
return ajaxMain((form.action || location.pathname) + '?' + params.join('&'));
|
return ajaxMain((form.action || location.pathname) + '?' + params.join('&'));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user