MDL-57419 messaging: Don't use enter to send

This commit is contained in:
John Okely
2017-03-16 10:50:06 +08:00
parent 70fa678586
commit 3bc489a0ec
2 changed files with 1 additions and 4 deletions
File diff suppressed because one or more lines are too long
-3
View File
@@ -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.