SinglestatPanel: Fixed absolute drilldown link issue, Fixes #1150
This commit is contained in:
1 parent
93e3908a63
commit
d7ef6daeb8
2 files changed
+8
-1
No files matched your search
@@ -186,7 +186,13 @@ function (angular, app, _, $) {
|
||||
var linkInfo = linkSrv.getPanelLinkAnchorInfo(panel.links[0]);
|
||||
if (linkInfo.href[0] === '#') { linkInfo.href = linkInfo.href.substring(1); }
|
||||
|
||||
$timeout(function() { $location.url(linkInfo.href); });
|
||||
if (linkInfo.href.indexOf('http') === 0) {
|
||||
window.location.href = linkInfo.href;
|
||||
} else {
|
||||
$timeout(function() {
|
||||
$location.url(linkInfo.href);
|
||||
});
|
||||
}
|
||||
|
||||
drilldownTooltip.detach();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user