Fix cloning issue with layers

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@681 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Jeff Schiller
2009-09-22 18:58:52 +00:00
parent 91a348412e
commit 573b350721

View File

@@ -1,6 +1,8 @@
/*
Issue 73 (Layers) TODO:
- fix bug with moving to top/bottom
- reverse order of layer list (top-most list should be on top of the image)
- convert select/options to tables, handle 'selection' of rows
- add visibility icon to table as a column
- determine how to toggle visibility of layers (UI-wise)
@@ -3799,7 +3801,7 @@ function BatchCommand(text) {
var elem = copiedElements[i] = copiedElements[i].cloneNode(true);
elem.removeAttribute("id");
elem.id = getNextId();
svgzoom.appendChild(elem);
current_layer.appendChild(elem);
batchCmd.addSubCommand(new InsertElementCommand(elem));
}