Dont remove image from svg automatically

This commit is contained in:
Abhas
2017-04-24 16:11:34 +05:30
parent 811017e8d6
commit 499958f2a8
+1 -1
View File
@@ -39555,7 +39555,7 @@ FusionCharts.register('module', ['private', 'modules.exporter.main',
// If the hosted environment supports canvas get SVG with image tags // If the hosted environment supports canvas get SVG with image tags
// else trim all embedded image specific tags. // else trim all embedded image specific tags.
// @todo: Need to figure out how images could be exported for older browsers. // @todo: Need to figure out how images could be exported for older browsers.
svg = paper.toSVG(exportwithimages && isCanvasSupported && exportFormat !== 'svg'); svg = paper.toSVG(exportwithimages && isCanvasSupported);
svgForClientSideExport = paper.toSVG(exportwithimages && isCanvasSupported); svgForClientSideExport = paper.toSVG(exportwithimages && isCanvasSupported);
svgForClientSideExport = removeCrossDomainImages(svgForClientSideExport); svgForClientSideExport = removeCrossDomainImages(svgForClientSideExport);