Minor tweaks

Allow 'markdown' attribute on <svg> and
on <foreignObject> in SVG-edit whitelist.
Specify SVG-edit Window properties.
This commit is contained in:
Jacques Distler 2010-02-08 01:26:41 -06:00
parent c32e5b7178
commit f98802336f
2 changed files with 4 additions and 4 deletions

View file

@ -84,9 +84,9 @@ function setupSVGedit(path){
Event.observe(SVGeditButton, 'click', function(){
if (selected) {
var editor = window.open(path +'?source=data:image/svg+xml;base64,' + window.btoa(selected),
'Editing Existing SVG Graphic');
'Editing Existing SVG Graphic', 'status=1,resizable=1,scrollbars=1');
} else {
var editor = window.open(path, 'Creating New SVG graphic');
var editor = window.open(path, 'Creating New SVG graphic', 'status=1,resizable=1,scrollbars=1');
}
SVGeditButton.disabled = true;
SVGeditButton.value = 'Create SVG graphic';