MDL-56431 messaging: Set focus to the write a message box.
This commit is contained in:
committed by
Dan Poltawski
parent
d14207fd25
commit
58c2684db2
+1
-1
File diff suppressed because one or more lines are too long
@@ -38,7 +38,6 @@ define(['jquery', 'core/ajax', 'core/templates', 'core/notification', 'core/cust
|
||||
BLOCKTIME: "[data-region='blocktime']",
|
||||
CANCELDELETEMESSAGES: "[data-action='cancel-delete-messages']",
|
||||
CONTACT: "[data-region='contact']",
|
||||
CONTACTPROFILE: "[data-action='view-contact-profile']",
|
||||
CONVERSATIONS: "[data-region='contacts'][data-region-content='conversations']",
|
||||
DELETEALLMESSAGES: "[data-action='delete-all-messages']",
|
||||
DELETEMESSAGES: "[data-action='delete-messages']",
|
||||
@@ -208,7 +207,7 @@ define(['jquery', 'core/ajax', 'core/templates', 'core/notification', 'core/cust
|
||||
this._addScrollEventListener(numberreceived);
|
||||
// Restart the poll timer.
|
||||
this._backoffTimer.restart();
|
||||
this.messageArea.find(SELECTORS.CONTACTPROFILE).focus();
|
||||
this.messageArea.find(SELECTORS.SENDMESSAGETEXT).focus();
|
||||
}.bind(this)).fail(Notification.exception);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user