From ed9293636e23258eebf675a9a5402b19f5f20e55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Wed, 17 Dec 2008 14:31:45 +0000 Subject: [PATCH] hiding timeout message when completed git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1067 44740490-163a-0410-bde0-09ae8108e29a --- templates/default/logout-iframe.php | 1 + www/saml2/idp/SingleLogoutServiceiFrame.php | 20 -------------------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/templates/default/logout-iframe.php b/templates/default/logout-iframe.php index d27a80bae..c55eead09 100644 --- a/templates/default/logout-iframe.php +++ b/templates/default/logout-iframe.php @@ -63,6 +63,7 @@ function slocompletesp($entityhash) { /* SLO completed for all sps. */ function slocompleted() { /* $("div.completedButWarnings").show(); */ + $("div#interrupt").hide(); ' . ($nologoutSPs ? ' ' : 'setTimeout("sendResponse()", 2000);') . ' } diff --git a/www/saml2/idp/SingleLogoutServiceiFrame.php b/www/saml2/idp/SingleLogoutServiceiFrame.php index d92160e4a..474308ea9 100644 --- a/www/saml2/idp/SingleLogoutServiceiFrame.php +++ b/www/saml2/idp/SingleLogoutServiceiFrame.php @@ -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']; - - - - - - - - - - - - - -- GitLab