column select: prevent enter from bubbling

This commit is contained in:
Felix Niklas 2016-02-15 12:48:52 +01:00
parent 6afe4d6b08
commit 386a752669

View file

@ -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