Commit 83beff30 by Torkel Ödegaard

Merge branch 'v4.4.x'

parents 781dd25c 64b5153e
......@@ -135,9 +135,10 @@ export class DashNavCtrl {
viewJson() {
var clone = this.dashboard.getSaveModelClone();
var html = angular.toJson(clone, true);
var uri = "data:application/json;charset=utf-8," + encodeURIComponent(html);
var newWindow = window.open(uri);
this.$rootScope.appEvent('show-json-editor', {
object: clone,
});
}
showSearch() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment