Fix an SVG nonce bug

Dunno when this problem with randomized IDs arose.
But it's fixed now.

Also, sync with latest SVG-Edit.
This commit is contained in:
Jacques Distler 2010-04-01 23:56:21 -05:00
parent 18b5ea9aa6
commit da0c6a2ea1
17 changed files with 577 additions and 279 deletions

View file

@ -86,6 +86,7 @@ function setupSVGedit(path){
editor.addEventListener("load", function() {
editor.svgEditor.setCustomHandlers({
'save': function(window,svg){
editor.svgEditor.setConfig({no_save_warning: true});
window.opener.postMessage(svg, window.location.protocol + '//' + window.location.host);
window.close();
}