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
ddb1f709
Commit
ddb1f709
authored
4 years ago
by
srosse
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/OpenOLAT_15.2' into OpenOLAT_15.3
parents
60e5831d
ea02eb4b
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
src/main/java/org/olat/modules/scorm/ScormAPIandDisplayController.java
+3
-7
3 additions, 7 deletions
.../org/olat/modules/scorm/ScormAPIandDisplayController.java
with
3 additions
and
7 deletions
src/main/java/org/olat/modules/scorm/ScormAPIandDisplayController.java
+
3
−
7
View file @
ddb1f709
...
@@ -303,10 +303,7 @@ public class ScormAPIandDisplayController extends MainLayoutBasicController impl
...
@@ -303,10 +303,7 @@ public class ScormAPIandDisplayController extends MainLayoutBasicController impl
}
}
}
}
/**
@Override
* @see org.olat.core.gui.control.DefaultController#event(org.olat.core.gui.UserRequest,
* org.olat.core.gui.components.Component, org.olat.core.gui.control.Event)
*/
public
void
event
(
UserRequest
ureq
,
Component
source
,
Event
event
)
{
public
void
event
(
UserRequest
ureq
,
Component
source
,
Event
event
)
{
if
(
source
instanceof
Link
)
{
if
(
source
instanceof
Link
)
{
switchToNextOrPreviousSco
((
Link
)
source
);
switchToNextOrPreviousSco
((
Link
)
source
);
...
@@ -314,10 +311,10 @@ public class ScormAPIandDisplayController extends MainLayoutBasicController impl
...
@@ -314,10 +311,10 @@ public class ScormAPIandDisplayController extends MainLayoutBasicController impl
// user clicked a node in the tree navigation
// user clicked a node in the tree navigation
TreeEvent
te
=
(
TreeEvent
)
event
;
TreeEvent
te
=
(
TreeEvent
)
event
;
switchToPage
(
te
);
switchToPage
(
te
);
}
else
if
(
source
==
myContent
&&
event
.
getCommand
()
.
equals
(
"abort"
))
{
}
else
if
(
source
==
myContent
&&
"abort"
.
equals
(
event
.
getCommand
()))
{
// user has wrong browser - abort
// user has wrong browser - abort
fireEvent
(
ureq
,
Event
.
FAILED_EVENT
);
fireEvent
(
ureq
,
Event
.
FAILED_EVENT
);
}
else
if
(
source
==
myContent
&&
event
.
getCommand
()
.
equals
(
"ping"
))
{
}
else
if
(
source
==
myContent
&&
"ping"
.
equals
(
event
.
getCommand
()))
{
// Nothing to do, just let the framework redraw itself if necessary
// Nothing to do, just let the framework redraw itself if necessary
// This is used when LMS-Finished has been called and it is configured to
// This is used when LMS-Finished has been called and it is configured to
// close the module automatically
// close the module automatically
...
@@ -326,7 +323,6 @@ public class ScormAPIandDisplayController extends MainLayoutBasicController impl
...
@@ -326,7 +323,6 @@ public class ScormAPIandDisplayController extends MainLayoutBasicController impl
}
}
@Override
@Override
//fxdiff FXOLAT-116: SCORM improvements
protected
void
event
(
UserRequest
ureq
,
Controller
source
,
Event
event
)
{
protected
void
event
(
UserRequest
ureq
,
Controller
source
,
Event
event
)
{
if
(
source
==
columnLayoutCtr
)
{
if
(
source
==
columnLayoutCtr
)
{
if
(
event
==
Event
.
BACK_EVENT
)
{
if
(
event
==
Event
.
BACK_EVENT
)
{
...
...
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