aboutsummaryrefslogtreecommitdiff
path: root/js/panels/components-panel.reel/components-panel.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/components-panel.reel/components-panel.js')
-rwxr-xr-xjs/panels/components-panel.reel/components-panel.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/panels/components-panel.reel/components-panel.js b/js/panels/components-panel.reel/components-panel.js
index 46f91410..a57c9efc 100755
--- a/js/panels/components-panel.reel/components-panel.js
+++ b/js/panels/components-panel.reel/components-panel.js
@@ -297,6 +297,7 @@ exports.ComponentsPanel = Montage.create(Component, {
297 componentInstanceOnFirstDraw: { 297 componentInstanceOnFirstDraw: {
298 value: function(instance) { 298 value: function(instance) {
299 this.application.ninja.elementMediator.addElements(instance.element); 299 this.application.ninja.elementMediator.addElements(instance.element);
300 this.application.ninja.currentDocument.model.mObjects.push(instance);
300 } 301 }
301 }, 302 },
302 303