Replaced modal dialog boxes with HTML ones, fixed issue 335 and other minor image bugs

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@955 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Alexis Deveria
2009-11-19 15:09:21 +00:00
parent 75dffc0d2f
commit 383ef4a290
4 changed files with 197 additions and 56 deletions

View File

@@ -3418,7 +3418,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") {
if (selected.tagName != "g" && selected.tagName != "image") {
cur_shape.fill = selected.getAttribute("fill");
cur_shape.fill_opacity = selected.getAttribute("fill-opacity");
cur_shape.stroke = selected.getAttribute("stroke");