Added cache-busting token for loading elasticsearch dashboards

This commit is contained in:
Danny Berger
2013-11-01 11:01:22 -06:00
parent 41046796c8
commit c935fe9086
+1 -1
View File
@@ -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);