mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
#9765 Fixed check connection
This commit is contained in:
parent
778501d4bf
commit
53ef84c7e5
@ -35,7 +35,6 @@ function handleConnection() {
|
||||
return;
|
||||
}
|
||||
|
||||
if (navigator.onLine) {
|
||||
$.ajax({
|
||||
url: homeurl + "include/connection_check.php",
|
||||
type: "post",
|
||||
@ -56,12 +55,6 @@ function handleConnection() {
|
||||
|
||||
showConnectionMessage(connected, msg);
|
||||
});
|
||||
} else {
|
||||
// handle offline status
|
||||
connected = false;
|
||||
msg = "Connection offline";
|
||||
showConnectionMessage(connected, msg);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user