mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 18:34:52 -06:00
Added cache-busting token for loading elasticsearch dashboards
This commit is contained in:
parent
41046796c8
commit
c935fe9086
@ -293,7 +293,7 @@ function (angular, $, kbn, _, config, moment, Modernizr) {
|
||||
|
||||
this.elasticsearch_load = function(type,id) {
|
||||
return $http({
|
||||
url: config.elasticsearch + "/" + config.kibana_index + "/"+type+"/"+id,
|
||||
url: config.elasticsearch + "/" + config.kibana_index + "/"+type+"/"+id+'?' + new Date().getTime(),
|
||||
method: "GET",
|
||||
transformResponse: function(response) {
|
||||
return renderTemplate(angular.fromJson(response)._source.dashboard, $routeParams);
|
||||
|
Loading…
Reference in New Issue
Block a user