Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
b70cfabc
Commit
b70cfabc
authored
Jun 22, 2021
by
Piotr Gawron
Browse files
change tab after update is performed due to change in search results
parent
d77fd9fe
Pipeline
#43416
passed with stage
in 20 minutes and 7 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
b70cfabc
...
...
@@ -27,6 +27,8 @@ minerva (16.0.0~beta.1) stable; urgency=medium
*
Bug
fix
:
data
overlays
in
comlex
upload
prevented
error
to
be
propagated
to
user
(#
1499
)
*
Bug
fix
:
searching
for
all
chemicals
by
target
did
not
work
(#
1490
)
*
Bug
fix
:
searching
by
chemical
/
drug
/
mirna
in
left
panel
focus
the
proper
tab
in
the
InfoWindow
(#
1492
)
--
Piotr
Gawron
<
piotr
.
gawron
@
uni
.
lu
>
Wed
,
9
Jun
2021
15
:
00
:
00
+
0200
...
...
frontend-js/src/main/js/map/window/AliasInfoWindow.js
View file @
b70cfabc
...
...
@@ -13,6 +13,9 @@ var Point = require('../canvas/Point');
var
pileup
=
require
(
'
pileup
'
);
var
Promise
=
require
(
"
bluebird
"
);
var
ChemicalDbOverlay
=
require
(
"
../overlay/ChemicalDbOverlay
"
);
var
DrugDbOverlay
=
require
(
"
../overlay/DrugDbOverlay
"
);
var
MiRnaDbOverlay
=
require
(
"
../overlay/MiRnaDbOverlay
"
);
/**
* @typedef {Object} PileupRange
...
...
@@ -47,8 +50,17 @@ function AliasInfoWindow(params) {
return
self
.
update
();
};
var
dbOverlaySearchChanged
=
function
()
{
return
self
.
update
();
var
dbOverlaySearchChanged
=
function
(
arg
)
{
return
self
.
update
().
then
(
function
(){
if
(
arg
.
object
instanceof
ChemicalDbOverlay
)
{
$
(
"
a:contains(chemical)
"
,
self
.
getContent
()).
click
();
}
else
if
(
arg
.
object
instanceof
DrugDbOverlay
)
{
$
(
"
a:contains(drug)
"
,
self
.
getContent
()).
click
();
}
else
if
(
arg
.
object
instanceof
MiRnaDbOverlay
)
{
$
(
"
a:contains(mirna)
"
,
self
.
getContent
()).
click
();
}
});
};
params
.
map
.
getTopMap
().
addListener
(
"
onShowOverlay
"
,
overlayListChanged
);
...
...
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