aboutsummaryrefslogtreecommitdiff
path: root/js/tools
diff options
context:
space:
mode:
authorJonathan Duran2012-04-25 08:15:11 -0700
committerJonathan Duran2012-04-25 08:15:11 -0700
commitef704fcb6b1bb290eb45b6685b073e2932237a68 (patch)
tree78e25608910c71f1fb622c8a0a4ad63c8a51a376 /js/tools
parent02414d5b25a53f7939d77c83ed550aad41e1f382 (diff)
downloadninja-ef704fcb6b1bb290eb45b6685b073e2932237a68.tar.gz
Revert "Fix Pen Tool not broadcasting elementAdded event"
This reverts commit 0475cb7e37601366ec07d77fcea44269d3d49633. Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js/tools')
-rwxr-xr-xjs/tools/PenTool.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/js/tools/PenTool.js b/js/tools/PenTool.js
index 3ffe0b62..7fc8dd95 100755
--- a/js/tools/PenTool.js
+++ b/js/tools/PenTool.js
@@ -619,8 +619,6 @@ exports.PenTool = Montage.create(ShapeTool, {
619 // TODO - update the shape's info only. shapeModel will likely need an array of shapes. 619 // TODO - update the shape's info only. shapeModel will likely need an array of shapes.
620 } 620 }
621 621
622 NJevent("elementAdded", newCanvas);
623
624 if(newCanvas.elementModel.isShape) 622 if(newCanvas.elementModel.isShape)
625 { 623 {
626 this.application.ninja.selectionController.selectElement(newCanvas); 624 this.application.ninja.selectionController.selectElement(newCanvas);