Fix svg saving.

This commit is contained in:
Oleg Sh
2024-10-11 19:33:03 +02:00
parent 1576a1c6e4
commit 6ea3935543
7 changed files with 9 additions and 10 deletions

View File

@@ -17,10 +17,9 @@ DiskSaveLoad.SaveSVGGraphOnDisk = function (imageName, svgText, callback)
$.ajax({
type: "POST",
url: "/" + SiteDir + "backend/saveSvg.php?name=" + imageName,
data: {
svgdata : svgText
},
data: svgText,
dataType: "text",
contentType: "text/xml; charset=utf-8",
success: callback
});