mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 10:04:07 +02:00
IE compatibility
This commit is contained in:
@@ -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('&'));
|
||||
}
|
||||
|
Reference in New Issue
Block a user