Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
minerva
core
Commits
28f3d0ea
Commit
28f3d0ea
authored
6 years ago
by
Piotr Gawron
Browse files
Options
Downloads
Patches
Plain Diff
after active tab is unloaded the first tab is selected as active
parent
0205bf8f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!724
Merge 12.2.1
,
!723
12.2.1 into master
,
!719
after active tab is unloaded the first tab is selected as active
Pipeline
#9554
passed
6 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG
+2
-0
2 additions, 0 deletions
CHANGELOG
frontend-js/src/main/js/gui/leftPanel/GuiUtils.js
+7
-0
7 additions, 0 deletions
frontend-js/src/main/js/gui/leftPanel/GuiUtils.js
with
9 additions
and
0 deletions
CHANGELOG
+
2
−
0
View file @
28f3d0ea
minerva (12.2.1) stable; urgency=medium
* Bug fix: export of reaction colorsi in SBML is properly encoded (COPASI can
read colors properly) (#744)
* Bug fix: removing active plugin didn't switch plugin tab to the next loaded
plugin (#757)
-- Piotr Gawron <piotr.gawron@uni.lu> Mon, 1 Apr 2019 17:00:00 +0200
...
...
This diff is collapsed.
Click to expand it.
frontend-js/src/main/js/gui/leftPanel/GuiUtils.js
+
7
−
0
View file @
28f3d0ea
...
...
@@ -1175,6 +1175,13 @@ GuiUtils.prototype.removeTab = function (abstractGuiElement, panel) {
}
else
{
logger
.
warn
(
"
Cannot find tab for panel:
"
+
panel
);
}
var
isActive
=
$
(
"
.nav-tabs > li.active
"
,
$
(
abstractGuiElement
.
getElement
())).
length
>
0
;
if
(
!
isActive
)
{
var
links
=
$
(
"
.nav-tabs > li
"
,
$
(
abstractGuiElement
.
getElement
()));
if
(
links
.
length
>
0
)
{
$
(
"
a
"
,
$
(
links
[
0
])).
click
();
}
}
};
/**
...
...
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