aboutsummaryrefslogtreecommitdiff
path: root/js/panels
diff options
context:
space:
mode:
authorValerio Virgillito2012-03-23 13:29:08 -0700
committerValerio Virgillito2012-03-23 13:29:08 -0700
commitbc8b0c17023ddea6d77150694a777e104ef99cbc (patch)
tree1524c53d027d1f2f8cbb759f61e4d73b52b00481 /js/panels
parenta2f206ee9fe7477bd3343e10c56149d5edf6232a (diff)
parent67aaba2e752ea1964356f487269cafc686abb9a7 (diff)
downloadninja-bc8b0c17023ddea6d77150694a777e104ef99cbc.tar.gz
Merge pull request #138 from joseeight/FileIO-Montage-Components
I/O Fixes
Diffstat (limited to 'js/panels')
-rwxr-xr-xjs/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js b/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js
index 599eeda3..3505393c 100755
--- a/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js
+++ b/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js
@@ -297,6 +297,8 @@ var ComponentsPanelBase = exports.ComponentsPanelBase = Montage.create(Component
297 styles[n] = defaultStyles[n]; 297 styles[n] = defaultStyles[n];
298 } 298 }
299 } 299 }
300
301 instance.addEventListener('firstDraw', that, false);
300 302
301 that.application.ninja.currentDocument.setComponentInstance(instance, element); 303 that.application.ninja.currentDocument.setComponentInstance(instance, element);
302 304
@@ -305,6 +307,12 @@ var ComponentsPanelBase = exports.ComponentsPanelBase = Montage.create(Component
305 307
306 } 308 }
307 }, 309 },
310
311 handleFirstDraw: {
312 value: function (e) {
313 NJevent("addComponentFirstDraw");
314 }
315 },
308 316
309 makeComponent: { 317 makeComponent: {
310 value: function(name) { 318 value: function(name) {