mirror of
https://github.com/moodle/moodle.git
synced 2025-04-25 10:26:17 +02:00
MDL-57419 messaging: Don't use enter to send
This commit is contained in:
parent
1034421264
commit
e09066d0eb
File diff suppressed because one or more lines are too long
@ -140,9 +140,6 @@ define(['jquery', 'core/ajax', 'core/templates', 'core/notification', 'core/cust
|
||||
this.messageArea.onDelegateEvent('focus', SELECTORS.SENDMESSAGETEXT, this._setMessaging.bind(this));
|
||||
this.messageArea.onDelegateEvent('blur', SELECTORS.SENDMESSAGETEXT, this._clearMessaging.bind(this));
|
||||
|
||||
this.messageArea.onDelegateEvent(CustomEvents.events.enter, SELECTORS.SENDMESSAGETEXT,
|
||||
this._sendMessageHandler.bind(this));
|
||||
|
||||
$(document).on(AutoRows.events.ROW_CHANGE, this._adjustMessagesAreaHeight.bind(this));
|
||||
|
||||
// Check if any messages have been displayed on page load.
|
||||
|
Loading…
x
Reference in New Issue
Block a user