Browse Source

Cache bust json files

Rashid Khan 12 years ago
parent
commit
de22a1ad34
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/app/services/dashboard.js

+ 1 - 1
src/app/services/dashboard.js

@@ -244,7 +244,7 @@ function (angular, $, kbn, _, config, moment, Modernizr) {
 
 
     this.file_load = function(file) {
     this.file_load = function(file) {
       return $http({
       return $http({
-        url: "app/dashboards/"+file,
+        url: "app/dashboards/"+file+'?' + new Date().getTime(),
         method: "GET",
         method: "GET",
         transformResponse: function(response) {
         transformResponse: function(response) {
           return renderTemplate(response,$routeParams);
           return renderTemplate(response,$routeParams);