Commit 5edc2cb1 authored by xorti's avatar xorti

[FIX] Fix multiple diagrams render within same wikipage

parent 342d860b
Pipeline #49729804 failed with stages
in 24 minutes and 37 seconds
......@@ -16,9 +16,9 @@
</div>
{/if}
{jq notonready=true}
var xml = '{{$graph_data}}';
mxUtils.getAll([STYLE_PATH + '/default.xml'], function(xhr) {
var xml = '{{$graph_data}}';
var themes = new Object();
themes[Graph.prototype.defaultThemeName] = xhr[0].getDocumentElement();
......
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