IE compatibility
This commit is contained in:
parent
d9fbb905f3
commit
21e70bc00f
|
@ -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('&'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue