Commit dbe985c6 authored by Tristan Cavelier's avatar Tristan Cavelier

erp5_svg_editor: fix svg should be saved correctly

parent 256e1ba4
...@@ -54,7 +54,7 @@ $(document).ready(function(){\n ...@@ -54,7 +54,7 @@ $(document).ready(function(){\n
$.ajax({\n $.ajax({\n
type: "POST",\n type: "POST",\n
url: "Base_setSVGTextContent",\n url: "Base_setSVGTextContent",\n
data: "text=" + svg_canvas.getSvgString(),\n data: "text=" + encodeURIComponent(svg_canvas.getSvgString()),\n
success: function(){\n success: function(){\n
window.location.reload();\n window.location.reload();\n
}\n }\n
......
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