mirror of
https://github.com/vrana/adminer.git
synced 2025-08-15 02:54:28 +02:00
Handler for stopped AJAX requests
This commit is contained in:
@@ -249,7 +249,11 @@ function ajax(url, callback, data) {
|
|||||||
if (title) {
|
if (title) {
|
||||||
document.title = decodeURIComponent(title);
|
document.title = decodeURIComponent(title);
|
||||||
}
|
}
|
||||||
|
if (xmlhttp.status) {
|
||||||
callback(xmlhttp.responseText);
|
callback(xmlhttp.responseText);
|
||||||
|
} else {
|
||||||
|
setHtml('loader', '');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
xmlhttp.send(data);
|
xmlhttp.send(data);
|
||||||
|
Reference in New Issue
Block a user