Commit c11ce99b by Torkel Ödegaard

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

parent 8ad83b8d
...@@ -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.search({}); $location.path(linkInfo.href); }); $timeout(function() { $location.url(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