Fix SVG-Edit Regression

"text" and "foreignObject" tools should not
disable "line" and "freehand" tools.
This commit is contained in:
Jacques Distler 2010-02-17 08:26:05 -06:00
parent db5b418659
commit 4475f02586
2 changed files with 10 additions and 9 deletions

View file

@ -666,6 +666,7 @@ function svg_edit_setup() {
var updateToolbar = function() {
if (selectedElement != null &&
selectedElement.tagName != "image" &&
selectedElement.tagName != "text" &&
selectedElement.tagName != "foreignObject" &&
selectedElement.tagName != "g")
{