mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 20:54:22 -06:00
parent
a56cf9d6fd
commit
124961a9e3
@ -191,7 +191,7 @@ export class DashNavCtrl {
|
||||
$scope.viewJson = function() {
|
||||
var clone = $scope.dashboard.getSaveModelClone();
|
||||
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);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user