Ajout fonction logout si déconnecté en ajax
This commit is contained in:
parent
7bcaa56173
commit
49e45b13c8
2 changed files with 16 additions and 2 deletions
|
|
@ -784,8 +784,8 @@ function ajax_disconnected($div)
|
|||
$html.=h2(_('Données non disponibles'), 'class="title" style="width:auto"');
|
||||
$html.=h2(_('Veuillez vous reconnecter'), 'class="error"');
|
||||
$html.=alert(_("Déconnecté"), true);
|
||||
$html.="<script>logout();</script>";
|
||||
$html = escape_xml($html);
|
||||
|
||||
header('Content-type: text/xml; charset=UTF-8');
|
||||
echo <<<EOF
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue