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
1c35d4b2
Commit
1c35d4b2
authored
Nov 16, 2015
by
toni-moreno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed autoupdate on variabe refresh, don't needed if working interactive and fix #2722
parent
a56f657f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
public/app/features/templating/templateValuesSrv.js
+0
-11
No files found.
public/app/features/templating/templateValuesSrv.js
View file @
1c35d4b2
...
@@ -45,17 +45,6 @@ function (angular, _, kbn) {
...
@@ -45,17 +45,6 @@ function (angular, _, kbn) {
};
};
this
.
setVariableFromUrl
=
function
(
variable
,
urlValue
)
{
this
.
setVariableFromUrl
=
function
(
variable
,
urlValue
)
{
if
(
variable
.
refresh
)
{
var
self
=
this
;
//refresh the list of options before setting the value
return
this
.
updateOptions
(
variable
).
then
(
function
()
{
var
option
=
_
.
findWhere
(
variable
.
options
,
{
text
:
urlValue
});
option
=
option
||
{
text
:
urlValue
,
value
:
urlValue
};
self
.
updateAutoInterval
(
variable
);
return
self
.
setVariableValue
(
variable
,
option
);
});
}
var
option
=
_
.
findWhere
(
variable
.
options
,
{
text
:
urlValue
});
var
option
=
_
.
findWhere
(
variable
.
options
,
{
text
:
urlValue
});
option
=
option
||
{
text
:
urlValue
,
value
:
urlValue
};
option
=
option
||
{
text
:
urlValue
,
value
:
urlValue
};
...
...
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