column select: prevent enter from bubbling
This commit is contained in:
parent
6afe4d6b08
commit
386a752669
1 changed files with 3 additions and 0 deletions
|
@ -90,6 +90,9 @@ class App.ColumnSelect extends Spine.Controller
|
|||
|
||||
onFilterKeydown: (event) ->
|
||||
return if event.keyCode != 13
|
||||
|
||||
event.stopPropagation()
|
||||
event.preventDefault()
|
||||
|
||||
firstVisibleOption = @poolOptions.not('.is-filtered').not('.is-hidden').first()
|
||||
if firstVisibleOption
|
||||
|
|
Loading…
Reference in a new issue