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

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

Merge branch '1491-change-active-tab-when-choosing-a-show-all-element-from-pin-popup' into 'master'

Resolve "Change active tab when choosing a "Show all" element from pin popup"

Closes #1491

See merge request !1323
parents dc5caaac a1a162cc
Pipeline #45255 failed with stage
in 28 minutes and 13 seconds
......@@ -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