mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge branch 'v4.4.x'
This commit is contained in:
commit
83beff300b
@ -135,9 +135,10 @@ export class DashNavCtrl {
|
|||||||
|
|
||||||
viewJson() {
|
viewJson() {
|
||||||
var clone = this.dashboard.getSaveModelClone();
|
var clone = this.dashboard.getSaveModelClone();
|
||||||
var html = angular.toJson(clone, true);
|
|
||||||
var uri = "data:application/json;charset=utf-8," + encodeURIComponent(html);
|
this.$rootScope.appEvent('show-json-editor', {
|
||||||
var newWindow = window.open(uri);
|
object: clone,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
showSearch() {
|
showSearch() {
|
||||||
|
Loading…
Reference in New Issue
Block a user