diff options
Diffstat (limited to 'js/panels/Timeline/Layer.reel/Layer.js')
-rw-r--r-- | js/panels/Timeline/Layer.reel/Layer.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/panels/Timeline/Layer.reel/Layer.js b/js/panels/Timeline/Layer.reel/Layer.js index fcdbcd22..bddfcd3e 100644 --- a/js/panels/Timeline/Layer.reel/Layer.js +++ b/js/panels/Timeline/Layer.reel/Layer.js | |||
@@ -505,6 +505,9 @@ var Layer = exports.Layer = Montage.create(Component, { | |||
505 | // Add mousedown listener to set isActive | 505 | // Add mousedown listener to set isActive |
506 | this.element.addEventListener("mousedown", this, false); | 506 | this.element.addEventListener("mousedown", this, false); |
507 | this.element.addEventListener("click", this, false); | 507 | this.element.addEventListener("click", this, false); |
508 | |||
509 | // Drag and drop event hanlders | ||
510 | this.element.addEventListener("dropped", this, false); | ||
508 | 511 | ||
509 | } | 512 | } |
510 | }, | 513 | }, |
@@ -783,6 +786,11 @@ var Layer = exports.Layer = Montage.create(Component, { | |||
783 | this.triggerOutgoingBinding(); | 786 | this.triggerOutgoingBinding(); |
784 | } | 787 | } |
785 | }, | 788 | }, |
789 | handleDropped : { | ||
790 | value: function(event) { | ||
791 | console.log('wheeee! WWEWWEWWWWEEEEEEEEE') | ||
792 | } | ||
793 | }, | ||
786 | /* End: Event handlers */ | 794 | /* End: Event handlers */ |
787 | 795 | ||
788 | /* Begin: Logging routines */ | 796 | /* Begin: Logging routines */ |