|
@@ -274,7 +274,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+'?' + new Date().getTime(),
|
|
|
|
|
|
|
+ url: "app/dashboards/"+file.replace(".","/")+'?' + new Date().getTime(),
|
|
|
method: "GET",
|
|
method: "GET",
|
|
|
transformResponse: function(response) {
|
|
transformResponse: function(response) {
|
|
|
return renderTemplate(response,$routeParams);
|
|
return renderTemplate(response,$routeParams);
|
|
@@ -314,7 +314,7 @@ function (angular, $, kbn, _, config, moment, Modernizr) {
|
|
|
|
|
|
|
|
this.script_load = function(file) {
|
|
this.script_load = function(file) {
|
|
|
return $http({
|
|
return $http({
|
|
|
- url: "app/dashboards/"+file,
|
|
|
|
|
|
|
+ url: "app/dashboards/"+file.replace(".","/"),
|
|
|
method: "GET",
|
|
method: "GET",
|
|
|
transformResponse: function(response) {
|
|
transformResponse: function(response) {
|
|
|
/*jshint -W054 */
|
|
/*jshint -W054 */
|