After choosing a file, focus the message field
Allow the user to edit the message and/or hit enter to send the image without having to click. // FREEBIE
This commit is contained in:
parent
6c98fc19b4
commit
287aa49252
1 changed files with 5 additions and 1 deletions
|
@ -80,7 +80,11 @@
|
||||||
'click .openInbox' : 'openInbox',
|
'click .openInbox' : 'openInbox',
|
||||||
'click' : 'onClick',
|
'click' : 'onClick',
|
||||||
'select .entry': 'messageDetail',
|
'select .entry': 'messageDetail',
|
||||||
'force-resize': 'forceUpdateMessageFieldSize'
|
'force-resize': 'forceUpdateMessageFieldSize',
|
||||||
|
'click .choose-file': 'focusMessageField'
|
||||||
|
},
|
||||||
|
focusMessageField: function() {
|
||||||
|
this.$messageField.focus();
|
||||||
},
|
},
|
||||||
fetchMessages: function() {
|
fetchMessages: function() {
|
||||||
this.model.fetchMessages();
|
this.model.fetchMessages();
|
||||||
|
|
Loading…
Reference in a new issue