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
eb359b91
Commit
eb359b91
authored
12 years ago
by
srosse
Browse files
Options
Downloads
Patches
Plain Diff
OO-293: fix a small issue with the back on the tabs
parent
7a2c06a8
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/core/commons/fullWebApp/BaseFullWebappController.java
+7
-11
7 additions, 11 deletions
...lat/core/commons/fullWebApp/BaseFullWebappController.java
with
7 additions
and
11 deletions
src/main/java/org/olat/core/commons/fullWebApp/BaseFullWebappController.java
+
7
−
11
View file @
eb359b91
...
...
@@ -430,7 +430,8 @@ public class BaseFullWebappController extends BasicController implements Generic
prevSite
=
sites
.
get
(
0
);
if
(
contentCtrl
==
null
)
{
//activate site only if no content was set -> allow content before activation of default site.
activateSite
(
sites
.
get
(
0
),
ureq
,
null
,
null
);
activateSite
(
prevSite
,
ureq
,
null
,
null
);
siteToBusinessPath
.
put
(
prevSite
,
ureq
.
getUserSession
().
getLastHistoryPoint
());
}
}
if
(
sites
==
null
&&
contentCtrl
==
null
)
{
...
...
@@ -481,23 +482,18 @@ public class BaseFullWebappController extends BasicController implements Generic
if
(
point
!=
null
)
{
BusinessControlFactory
.
getInstance
().
addToHistory
(
ureq
,
point
);
}
siteToBusinessPath
.
put
(
s
,
ureq
.
getUserSession
().
getLastHistoryPoint
());
HistoryPoint
currentPoint
=
ureq
.
getUserSession
().
getLastHistoryPoint
();
siteToBusinessPath
.
put
(
s
,
currentPoint
);
}
else
if
(
mC
.
equals
(
"a"
))
{
// activate dyntab
DTab
dt
=
(
DTab
)
link
.
getUserObject
();
doActivateDTab
((
DTabImpl
)
dt
);
}
else
if
(
mC
.
equals
(
"u"
))
{
// undock dyntab
// TODO:fj:c look at undock feature
}
else
if
(
mC
.
equals
(
"c"
))
{
// close dyntab
DTab
dt
=
(
DTab
)
link
.
getUserObject
();
requestCloseTab
(
dt
);
}
}
else
if
(
source
==
getWindowControl
().
getWindowBackOffice
().
getWindow
())
{
//OLAT BACK-FORWARD Handling -> Prevent any back forward until 80% handles back-forward as defined
//see adjustState
if
(
event
==
Window
.
OLDTIMESTAMPCALL
)
{
// we have a "reload" push or such -> set Warn Msg
// getWindowControl().setWarning(this.getTranslator().translate("warn.reload"));//
if
(
GUIInterna
.
isLoadPerformanceMode
())
{
getLogger
().
info
(
"loadtestMode RELOAD"
);
}
else
{
...
...
@@ -955,8 +951,8 @@ public class BaseFullWebappController extends BasicController implements Generic
// brasato:: remove
//fxdiff BAKS-7 Resume function
public
void
activateStatic
(
UserRequest
ureq
,
String
className
,
String
viewIdentifier
,
List
<
ContextEntry
>
entries
)
{
for
(
Iterator
it_sites
=
sites
.
iterator
();
it_sites
.
hasNext
();)
{
SiteInstance
site
=
(
SiteInstance
)
it_sites
.
next
();
for
(
Iterator
<
SiteInstance
>
it_sites
=
sites
.
iterator
();
it_sites
.
hasNext
();)
{
SiteInstance
site
=
it_sites
.
next
();
String
cName
=
site
.
getClass
().
getName
();
if
(
cName
.
equals
(
className
))
{
activateSite
(
site
,
ureq
,
viewIdentifier
,
entries
);
...
...
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