Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OLAT CI-CD Testing Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Oliver Dam
OLAT CI-CD Testing Project
Commits
c4bda34d
Commit
c4bda34d
authored
13 years ago
by
gnaegi
Browse files
Options
Downloads
Patches
Plain Diff
FXOLAT-193 OLAT-6255 trigger onolatunload() also when logging out so savely trigger scorm finish
--HG-- branch : uzhFixes711
parent
0ec211b6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
olat3/webapp/WEB-INF/src/org/olat/gui/control/_content/topnav.html
+2
-1
2 additions, 1 deletion
...app/WEB-INF/src/org/olat/gui/control/_content/topnav.html
with
2 additions
and
1 deletion
olat3/webapp/WEB-INF/src/org/olat/gui/control/_content/topnav.html
+
2
−
1
View file @
c4bda34d
...
...
@@ -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"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment