Merge branch 'fix_length_error'
This commit is contained in:
commit
5b62897712
1 changed files with 2 additions and 2 deletions
|
|
@ -28,14 +28,14 @@ class ExCommandModeInputView extends View
|
|||
@editor.find('input').on 'textInput', @autosubmit
|
||||
@editor.on 'core:confirm', @confirm
|
||||
@editor.on 'core:cancel', @cancel
|
||||
@editor.find('input').on 'blur', @cancel
|
||||
@editor.on 'blur', @cancel
|
||||
|
||||
stopHandlingEvents: ->
|
||||
if @singleChar?
|
||||
@editor.find('input').off 'textInput', @autosubmit
|
||||
@editor.off 'core:confirm', @confirm
|
||||
@editor.off 'core:cancel', @cancel
|
||||
@editor.find('input').off 'blur', @cancel
|
||||
@editor.off 'blur', @cancel
|
||||
|
||||
autosubmit: (event) =>
|
||||
@editor.setText(event.originalEvent.data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue