Add missing event registration for the ChatBoxView
This commit is contained in:
parent
29bc4215bd
commit
85688d1871
@ -173,18 +173,19 @@ converse.plugins.add('converse-chatview', {
|
||||
events: {
|
||||
'change input.fileupload': 'onFileSelection',
|
||||
'click .chatbox-navback': 'showControlBox',
|
||||
'click .chatbox-title': 'minimize',
|
||||
'click .new-msgs-indicator': 'viewUnreadMessages',
|
||||
'click .send-button': 'onFormSubmitted',
|
||||
'click .toggle-call': 'toggleCall',
|
||||
'click .toggle-clear': 'clearMessages',
|
||||
'click .toggle-compose-spoiler': 'toggleComposeSpoilerMessage',
|
||||
'click .upload-file': 'toggleFileUpload',
|
||||
'dragover .chat-textarea': 'onDragOver',
|
||||
'drop .chat-textarea': 'onDrop',
|
||||
'input .chat-textarea': 'inputChanged',
|
||||
'keydown .chat-textarea': 'onKeyDown',
|
||||
'keyup .chat-textarea': 'onKeyUp',
|
||||
'paste .chat-textarea': 'onPaste',
|
||||
'dragover .chat-textarea': 'onDragOver',
|
||||
'drop .chat-textarea': 'onDrop',
|
||||
},
|
||||
|
||||
async initialize () {
|
||||
|
@ -437,6 +437,7 @@ converse.plugins.add('converse-muc-views', {
|
||||
events: {
|
||||
'change input.fileupload': 'onFileSelection',
|
||||
'click .chatbox-navback': 'showControlBox',
|
||||
'click .chatbox-title': 'minimize',
|
||||
'click .hide-occupants': 'hideOccupants',
|
||||
'click .new-msgs-indicator': 'viewUnreadMessages',
|
||||
// Arrow functions don't work here because you can't bind a different `this` param to them.
|
||||
@ -453,7 +454,6 @@ converse.plugins.add('converse-muc-views', {
|
||||
'mousedown .dragresize-occupants-left': 'onStartResizeOccupants',
|
||||
'paste .chat-textarea': 'onPaste',
|
||||
'submit .muc-nickname-form': 'submitNickname',
|
||||
'click .converse-overlayed .chatbox-title': 'minimize'
|
||||
},
|
||||
|
||||
async initialize () {
|
||||
|
Loading…
Reference in New Issue
Block a user