aboutsummaryrefslogtreecommitdiff
path: root/js/panels/components-panel.reel/components-panel.js
diff options
context:
space:
mode:
authorArmen Kesablyan2012-06-13 11:37:11 -0700
committerArmen Kesablyan2012-06-13 11:37:11 -0700
commitd2e2a39feeba51e976d139eddf6f1cf331457f4f (patch)
tree7616fb59b5210d0d0128f1fd5dde34a43eb13f11 /js/panels/components-panel.reel/components-panel.js
parentcfa2d42f6ca65eb3ce1bea92db5f4af87dd68bb5 (diff)
parentd57ab6509805ba4e97d6c74be913a2c1b324af3a (diff)
downloadninja-d2e2a39feeba51e976d139eddf6f1cf331457f4f.tar.gz
Merge pull request #12 from ericguzman/binding
Binding Panel update
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 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