Fix Issue 274: pasting in text has pointer-events problems

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@806 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Jeff Schiller
2009-10-13 00:48:05 +00:00
parent 3509ab975f
commit 1cb98fe0fc

View File

@@ -3018,7 +3018,8 @@ function BatchCommand(text) {
layernames.push(name);
all_layers.push( [name,child] );
current_layer = child;
// walkTree(child, function(e){e.setAttribute("style", "pointer-events:none");});
walkTree(child, function(e){e.setAttribute("style", "pointer-events:inherit");});
current_layer.setAttribute("style", "pointer-events:none");
}
// if group did not have a name, it is an orphan
else {