Commit 8ad83b8d by Torkel Ödegaard

SinglestatPanel: small fix for drilldown link click while fullscreen mode, #1041

parent 873d3d7c
...@@ -185,7 +185,7 @@ function (angular, app, _, $) { ...@@ -185,7 +185,7 @@ function (angular, app, _, $) {
var linkInfo = linkSrv.getPanelLinkAnchorInfo(panel.links[0]); var linkInfo = linkSrv.getPanelLinkAnchorInfo(panel.links[0]);
if (linkInfo.href[0] === '#') { linkInfo.href = linkInfo.href.substring(1); } if (linkInfo.href[0] === '#') { linkInfo.href = linkInfo.href.substring(1); }
$timeout(function() { $location.path(linkInfo.href); }); $timeout(function() { $location.search({}); $location.path(linkInfo.href); });
drilldownTooltip.detach(); drilldownTooltip.detach();
}); });
......
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