ATLAS-2329 : Atlas UI Multiple Hovers appears if user click on another tag which is incorrect
Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/02a618af Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/02a618af Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/02a618af Branch: refs/heads/master Commit: 02a618afd16e7b7959140d48e2a12390aa043171 Parents: 9abc89b Author: pratik24mac <pratik2...@gmail.com> Authored: Wed Jan 3 17:41:05 2018 +0530 Committer: nixonrodrigues <ni...@apache.org> Committed: Wed Jan 3 18:50:27 2018 +0530 ---------------------------------------------------------------------- dashboardv2/public/js/views/tag/TagLayoutView.js | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/atlas/blob/02a618af/dashboardv2/public/js/views/tag/TagLayoutView.js ---------------------------------------------------------------------- diff --git a/dashboardv2/public/js/views/tag/TagLayoutView.js b/dashboardv2/public/js/views/tag/TagLayoutView.js index 7a67b7d..0edb378 100644 --- a/dashboardv2/public/js/views/tag/TagLayoutView.js +++ b/dashboardv2/public/js/views/tag/TagLayoutView.js @@ -509,8 +509,10 @@ define(['require', }); }, onTagList: function(e, toggle) { + var that = this; e.stopPropagation(); if (e.target.nodeName === "A") { + that.$('.tagPopover').popover('hide'); $(e.currentTarget).parents('ul.tag-tree').find('li.active').removeClass("active"); $(e.currentTarget).addClass("active"); }