浏览代码

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

Torkel Ödegaard 11 年之前
父节点
当前提交
c11ce99bb3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/app/panels/singlestat/singleStatPanel.js

+ 1 - 1
src/app/panels/singlestat/singleStatPanel.js

@@ -185,7 +185,7 @@ function (angular, app, _, $) {
           var linkInfo = linkSrv.getPanelLinkAnchorInfo(panel.links[0]);
           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();
         });