Skip to content
Snippets Groups Projects
Commit ab1c1b16 authored by khawkins98's avatar khawkins98
Browse files

Update compiled

parent 653fd8b3
No related branches found
No related tags found
No related merge requests found
......@@ -618,14 +618,21 @@ function ebiFrameworkIncludeAnnouncements() {
if (window.XMLHttpRequest) {
xmlhttp=new XMLHttpRequest();
}
xmlhttp.onreadystatechange=function() {
if (xmlhttp.readyState==4 && xmlhttp.status==200) {
eval(xmlhttp.responseText);
detectAnnouncements(m);
xmlhttp.open("GET", file, true);
xmlhttp.onload = function (e) {
if (xmlhttp.readyState === 4) {
if (xmlhttp.status === 200) {
eval(xmlhttp.responseText);
detectAnnouncements(m);
} else {
console.error(xmlhttp.statusText);
}
}
}
xmlhttp.open("GET", file, false);
xmlhttp.send();
};
xmlhttp.onerror = function (e) {
console.error(xmlhttp.statusText);
};
xmlhttp.send(null);
}
if (window.location.hostname.indexOf('wwwdev.') === 0) {
......
This diff is collapsed.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment