mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
committed by
Torkel Ödegaard
parent
a56cf9d6fd
commit
124961a9e3
@@ -191,7 +191,7 @@ export class DashNavCtrl {
|
|||||||
$scope.viewJson = function() {
|
$scope.viewJson = function() {
|
||||||
var clone = $scope.dashboard.getSaveModelClone();
|
var clone = $scope.dashboard.getSaveModelClone();
|
||||||
var html = angular.toJson(clone, true);
|
var html = angular.toJson(clone, true);
|
||||||
var uri = "data:application/json," + encodeURIComponent(html);
|
var uri = "data:application/json;charset=utf-8," + encodeURIComponent(html);
|
||||||
var newWindow = window.open(uri);
|
var newWindow = window.open(uri);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user