Skip to content
Snippets Groups Projects
Commit c4bda34d authored by gnaegi's avatar gnaegi
Browse files

FXOLAT-193 OLAT-6255 trigger onolatunload() also when logging out so savely trigger scorm finish

--HG--
branch : uzhFixes711
parent 0ec211b6
No related branches found
No related tags found
No related merge requests found
......@@ -25,8 +25,9 @@
#if (!$isGuest)
<li id="o_topnav_logout">
## make logout link very basic without onClick handler in case javaScript is broken it is still possible to log out
## except for the onolatunload() method which must be executed to correctly finish SCORM modules (OLAT-6255)
## must be on one line to work with inline translation tool
<a id="b_logout" href="$r.commandURI("logout")" title="$r.translateInAttribute("topnav.logout.alt")"><span class="b_logout_icon">$r.translate("topnav.logout")</span></a>
<a id="b_logout" href="$r.commandURI("logout")" title="$r.translateInAttribute("topnav.logout.alt")" onclick="if (window.olatonunload) {olatonunload();}"><span class="b_logout_icon">$r.translate("topnav.logout")</span></a>
</li>
#else
<li id="o_topnav_login">
......
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