mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Conversation view handles drag n drop events
By forwarding them to its file input. // FREEBIE
This commit is contained in:
@@ -201,6 +201,12 @@
|
||||
'select .message-list .entry': 'messageDetail',
|
||||
'force-resize': 'forceUpdateMessageFieldSize',
|
||||
'show-identity': 'showSafetyNumber'
|
||||
'dragover': 'sendToFileInput',
|
||||
'drop': 'sendToFileInput',
|
||||
'dragleave': 'sendToFileInput'
|
||||
},
|
||||
sendToFileInput: function(e) {
|
||||
this.fileInput.$el.trigger(e);
|
||||
},
|
||||
|
||||
onPrune: function() {
|
||||
|
||||
Reference in New Issue
Block a user