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
a531c792
Commit
a531c792
authored
May 29, 2013
by
Rashid Khan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #134 from rashidkpc/master
Fixed old time pattern issue, throw error on no matched indices
parents
b7a333b4
1818000d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
panels/timepicker/module.js
+8
-3
No files found.
panels/timepicker/module.js
View file @
a531c792
...
...
@@ -200,7 +200,8 @@ angular.module('kibana.timepicker', [])
};
}
$scope
.
time_apply
=
function
()
{
$scope
.
time_apply
=
function
()
{
$scope
.
panel
.
error
=
""
;
// Update internal time object
$scope
.
time
=
$scope
.
time_calc
();
$scope
.
time
.
field
=
$scope
.
panel
.
timefield
...
...
@@ -213,8 +214,12 @@ angular.module('kibana.timepicker', [])
$scope
.
panel
.
index
,
$scope
.
panel
.
index_interval
).
then
(
function
(
p
)
{
$scope
.
time
.
index
=
p
;
eventBus
.
broadcast
(
$scope
.
$id
,
$scope
.
panel
.
group
,
'time'
,
compile_time
(
$scope
.
time
))
if
(
p
.
length
>
0
)
{
$scope
.
time
.
index
=
p
;
eventBus
.
broadcast
(
$scope
.
$id
,
$scope
.
panel
.
group
,
'time'
,
compile_time
(
$scope
.
time
))
}
else
{
$scope
.
panel
.
error
=
"Could not match index pattern to any ElasticSearch indices"
}
});
}
else
{
$scope
.
time
.
index
=
[
$scope
.
panel
.
index
];
...
...
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