()
| 906 | if (!editingsource) return; |
| 907 | |
| 908 | var saveChanges = function() { |
| 909 | svgCanvas.clearSelection(); |
| 910 | hideSourceEditor(); |
| 911 | zoomImage(); |
| 912 | prepPaints(); |
| 913 | } |
| 914 | |
| 915 | if (!svgCanvas.setSvgString($('#svg_source_textarea').val())) { |
| 916 | $.confirm("There were parsing errors in your SVG source.\nRevert back to original SVG source?", function(ok) { |
no test coverage detected