aboutsummaryrefslogtreecommitdiff
path: root/js/panels/components-panel.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/components-panel.reel')
-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 e6b7a6e3..c8e5ac9a 100755
--- a/js/panels/components-panel.reel/components-panel.js
+++ b/js/panels/components-panel.reel/components-panel.js
@@ -302,6 +302,7 @@ exports.ComponentsPanel = Montage.create(Component, {
302 componentInstanceOnFirstDraw: { 302 componentInstanceOnFirstDraw: {
303 value: function(instance) { 303 value: function(instance) {
304 this.application.ninja.elementMediator.addElements(instance.element); 304 this.application.ninja.elementMediator.addElements(instance.element);
305 this.application.ninja.currentDocument.model.mObjects.push(instance);
305 } 306 }
306 }, 307 },
307 308