Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
8ac47b4e
Commit
8ac47b4e
authored
Jul 17, 2015
by
Mitsuhiro Tanda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix dashboard/panel link in scripted dashboard
parent
5b0585ac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
public/app/features/dashlinks/module.js
+1
-1
public/app/features/panellinks/linkSrv.js
+1
-1
No files found.
public/app/features/dashlinks/module.js
View file @
8ac47b4e
...
@@ -114,7 +114,7 @@ function (angular, _) {
...
@@ -114,7 +114,7 @@ function (angular, _) {
title
:
linkDef
.
title
,
title
:
linkDef
.
title
,
icon
:
iconMap
[
linkDef
.
icon
],
icon
:
iconMap
[
linkDef
.
icon
],
tooltip
:
linkDef
.
tooltip
,
tooltip
:
linkDef
.
tooltip
,
target
:
linkDef
.
targetBlank
?
"_blank"
:
""
,
target
:
linkDef
.
targetBlank
?
"_blank"
:
"
_self
"
,
keepTime
:
linkDef
.
keepTime
,
keepTime
:
linkDef
.
keepTime
,
includeVars
:
linkDef
.
includeVars
,
includeVars
:
linkDef
.
includeVars
,
}]);
}]);
...
...
public/app/features/panellinks/linkSrv.js
View file @
8ac47b4e
...
@@ -62,7 +62,7 @@ function (angular, kbn, _) {
...
@@ -62,7 +62,7 @@ function (angular, kbn, _) {
this
.
getPanelLinkAnchorInfo
=
function
(
link
)
{
this
.
getPanelLinkAnchorInfo
=
function
(
link
)
{
var
info
=
{};
var
info
=
{};
if
(
link
.
type
===
'absolute'
)
{
if
(
link
.
type
===
'absolute'
)
{
info
.
target
=
link
.
targetBlank
?
'_blank'
:
''
;
info
.
target
=
link
.
targetBlank
?
'_blank'
:
'
_self
'
;
info
.
href
=
templateSrv
.
replace
(
link
.
url
||
''
);
info
.
href
=
templateSrv
.
replace
(
link
.
url
||
''
);
info
.
title
=
templateSrv
.
replace
(
link
.
title
||
''
);
info
.
title
=
templateSrv
.
replace
(
link
.
title
||
''
);
info
.
href
+=
'?'
;
info
.
href
+=
'?'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment