diff options
author | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-08-06 20:07:14 -0700 |
---|---|---|
committer | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-08-12 12:24:22 -0700 |
commit | 9bbeef208fe9769618d2de3b69f0eb417eb007f8 (patch) | |
tree | bcdaf7ba6eb3b55f4b3a5af090ddd33d4900e5d6 /web/react/components/post_list.jsx | |
parent | eb3ca46982fbda3b34143022daaf15446cb4109a (diff) | |
download | chat-9bbeef208fe9769618d2de3b69f0eb417eb007f8.tar.gz chat-9bbeef208fe9769618d2de3b69f0eb417eb007f8.tar.bz2 chat-9bbeef208fe9769618d2de3b69f0eb417eb007f8.zip |
Added handlers for dragging and dropping files onto the center pane or RHS
Diffstat (limited to 'web/react/components/post_list.jsx')
-rw-r--r-- | web/react/components/post_list.jsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/web/react/components/post_list.jsx b/web/react/components/post_list.jsx index 83f806b79..5724dbd62 100644 --- a/web/react/components/post_list.jsx +++ b/web/react/components/post_list.jsx @@ -125,6 +125,12 @@ module.exports = React.createClass({ } }); + //$('body').on('drop drag') + /*window.document.addEventListener("drop", function(e) { + e.preventDefault(); + var centerPostList = $(inputDiv.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode).find('.post-list')[0]; + console.log("HERE!: " + centerPostList); + });*/ }, componentDidUpdate: function() { this.resize(); |