Gitlab is now using https://gitlab.lcsb.uni.lu as it's primary address. Please update your bookmarks. FAQ.

Commit a1a162cc authored by Piotr Gawron's avatar Piotr Gawron
Browse files

change to search tab

parent dc5caaac
Pipeline #43420 canceled with stage
......@@ -29,6 +29,8 @@ minerva (16.0.0~beta.1) stable; urgency=medium
* 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)
* Bug fix: search tab becomes active when drug/chemical/mirna result are
available (#1491)
-- Piotr Gawron <piotr.gawron@uni.lu> Wed, 9 Jun 2021 15:00:00 +0200
......
......@@ -95,6 +95,12 @@ AbstractDbPanel.prototype._createEventHandlers = function () {
if (link !== undefined) {
link.click();
}
if (self.getParent() !== undefined) {
link = $("a[href='#" + self.getParent().getElement().id + "']", self.getParent().getElement().parentNode.parentNode)[0];
if (link !== undefined) {
link.click();
}
}
}
}
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment