Skip to content
Snippets Groups Projects
Commit ed929363 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

hiding timeout message when completed

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1067 44740490-163a-0410-bde0-09ae8108e29a
parent 730772df
No related branches found
No related tags found
No related merge requests found
......@@ -63,6 +63,7 @@ function slocompletesp($entityhash) {
/* SLO completed for all sps. */
function slocompleted() {
/* $("div.completedButWarnings").show(); */
$("div#interrupt").hide();
' . ($nologoutSPs ? ' ' : 'setTimeout("sendResponse()", 2000);') . '
}
......
......@@ -120,14 +120,10 @@ function updateslostatus() {
$spname = is_array($name) ? $t->getTranslation($name) : $name;
$objResponse->addScriptCall('slocompletesp', 'e' . sha1($spentityid));
// $objResponse->addAssign('e' . sha1($spentityid), "className", 'loggedout');
// $objResponse->addAssign('e' . sha1($spentityid), "innerHTML", 'Logging out from <strong>' . $spname . '</strong> successfully completed');
}
if ($session->sp_logout_completed() === TRUE) {
// $objResponse->addAssign('iscompleted', "className", 'allcompleted');
// $objResponse->addAssign('interrupt', "className", 'allcompleted');
$objResponse->addScriptCall('slocompleted');
......@@ -315,9 +311,6 @@ foreach ($listofsps AS $spentityid) {
/*
* Logout procedure is done and we send a Logout Response back to the SP
*/
......@@ -387,19 +380,6 @@ if (array_key_exists('name', $spmeta)) $spname = $spmeta['name'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment