Subversion Repositories ALCASAR

Rev

Rev 1702 | Rev 2112 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1702 Rev 2097
Line 119... Line 119...
119
    hidePage("loggedOutPage");
119
    hidePage("loggedOutPage");
120
    showPage("statusPage");
120
    showPage("statusPage");
121
    hidePage("waitPage");
121
    hidePage("waitPage");
122
    hidePage("errorPage");
122
    hidePage("errorPage");
123
    
123
    
-
 
124
    //For no compliant browser with these javascript functions : onbeforeunload and unload, to disconnect users whose close status.php window. Now, we check if user is still connected while he is joinning 'still_connected.php'
-
 
125
    var xhttp = new XMLHttpRequest();
-
 
126
    xhttp.open('GET','still_connected.php',true);
-
 
127
    xhttp.send();
-
 
128
 
124
    // Update message
129
    // Update message
125
    if ( chilliController.message ) { 
130
    if ( chilliController.message ) { 
126
	setElementValue("statusMessage", chilliController.message);
131
	setElementValue("statusMessage", chilliController.message);
127
    }
132
    }
128
    
133