Remove 2.7-deprecated pngsave option
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2780 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -405,8 +405,8 @@ TODOS
|
|||||||
editor.showSaveWarning = false;
|
editor.showSaveWarning = false;
|
||||||
svgCanvas.bind('saved', opts.save);
|
svgCanvas.bind('saved', opts.save);
|
||||||
}
|
}
|
||||||
if (opts.exportImage || opts.pngsave) { // Deprecating pngsave
|
if (opts.exportImage) {
|
||||||
svgCanvas.bind('exported', opts.exportImage || opts.pngsave);
|
svgCanvas.bind('exported', opts.exportImage);
|
||||||
}
|
}
|
||||||
customHandlers = opts;
|
customHandlers = opts;
|
||||||
});
|
});
|
||||||
@@ -3589,7 +3589,7 @@ TODOS
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Open placeholder window (prevents popup)
|
// Open placeholder window (prevents popup)
|
||||||
if (!customHandlers.exportImage && !customHandlers.pngsave) {
|
if (!customHandlers.exportImage) {
|
||||||
var str = uiStrings.notification.loadingImage;
|
var str = uiStrings.notification.loadingImage;
|
||||||
exportWindow = window.open('data:text/html;charset=utf-8,<title>' + str + '<\/title><h1>' + str + '<\/h1>');
|
exportWindow = window.open('data:text/html;charset=utf-8,<title>' + str + '<\/title><h1>' + str + '<\/h1>');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user