Fix issue 503.

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1435 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Jacques Distler 2010-02-27 22:46:20 +00:00
parent b849e29e67
commit cf4e097316
1 changed files with 1 additions and 1 deletions

View File

@ -3450,7 +3450,7 @@ function BatchCommand(text) {
if (selectedElements[1] == null) {
// set our current stroke/fill properties to the element's
var selected = selectedElements[0];
if (selected.tagName != "g" && selected.tagName != "image") {
if (selected.tagName != "g" && selected.tagName != "image" && selected.tagName != "foreignObject") {
cur_properties.fill = selected.getAttribute("fill");
cur_properties.fill_opacity = selected.getAttribute("fill-opacity");
cur_properties.stroke = selected.getAttribute("stroke");