From 12fadd1494a9b5fcdaa17fde2f4847277237cf79 Mon Sep 17 00:00:00 2001 From: Jonathan Duran Date: Mon, 23 Apr 2012 11:47:15 -0700 Subject: Fix Brush tool not broadcasting elementAdded event Signed-off-by: Jonathan Duran --- js/tools/BrushTool.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/tools/BrushTool.js') diff --git a/js/tools/BrushTool.js b/js/tools/BrushTool.js index 4347658a..34a3c3ff 100644 --- a/js/tools/BrushTool.js +++ b/js/tools/BrushTool.js @@ -343,6 +343,8 @@ exports.BrushTool = Montage.create(ShapeTool, { // TODO - update the shape's info only. shapeModel will likely need an array of shapes. } + NJevent("elementAdded", newCanvas); + //if(newCanvas.elementModel.isShape) if (true) { -- cgit v1.2.3