diff options
author | Armen Kesablyan | 2012-06-13 11:37:11 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-06-13 11:37:11 -0700 |
commit | d2e2a39feeba51e976d139eddf6f1cf331457f4f (patch) | |
tree | 7616fb59b5210d0d0128f1fd5dde34a43eb13f11 /js/panels/components-panel.reel | |
parent | cfa2d42f6ca65eb3ce1bea92db5f4af87dd68bb5 (diff) | |
parent | d57ab6509805ba4e97d6c74be913a2c1b324af3a (diff) | |
download | ninja-d2e2a39feeba51e976d139eddf6f1cf331457f4f.tar.gz |
Merge pull request #12 from ericguzman/binding
Binding Panel update
Diffstat (limited to 'js/panels/components-panel.reel')
-rwxr-xr-x | js/panels/components-panel.reel/components-panel.js | 1 |
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 | ||