Preserve disabled state in the middle of sending message (#1937)
* Preserve disabled state in send-message field on click Also: get consistent in treatment of 'disabled' property. * Add some comments explaining how audio recording dismissal works
This commit is contained in:
parent
98d3a5e607
commit
e999473f19
2 changed files with 20 additions and 10 deletions
|
@ -28,6 +28,9 @@
|
|||
this.$('.time').text(minutes + ':' + seconds);
|
||||
},
|
||||
close: function() {
|
||||
// Note: the 'close' event can be triggered by InboxView, when the user clicks
|
||||
// anywhere outside the recording pane.
|
||||
|
||||
if (this.recorder.isRecording()) {
|
||||
this.recorder.cancelRecording();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue