Browse Source

fix(panellinks): fixed open in new tab issue for dashboard links, Fixes #2354

Torkel Ödegaard 10 years ago
parent
commit
2f4d3be303
1 changed files with 1 additions and 0 deletions
  1. 1 0
      public/app/features/panellinks/linkSrv.js

+ 1 - 0
public/app/features/panellinks/linkSrv.js

@@ -70,6 +70,7 @@ function (angular, kbn, _) {
         else if (link.dashUri) {
           info.href = 'dashboard/' + link.dashUri + '?';
           info.title = templateSrv.replace(link.title || '');
+          info.target = link.targetBlank ? '_blank' : '';
         }
         else {
           info.title = templateSrv.replace(link.title || '');