Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Devrim Gunyel
core
Commits
28f3d0ea
Commit
28f3d0ea
authored
Apr 01, 2019
by
Piotr Gawron
Browse files
after active tab is unloaded the first tab is selected as active
parent
0205bf8f
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
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
...
...
frontend-js/src/main/js/gui/leftPanel/GuiUtils.js
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
();
}
}
};
/**
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment