From 386a7526693d80d01503a03e26ea84043f917c81 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Mon, 15 Feb 2016 12:48:52 +0100 Subject: [PATCH] column select: prevent enter from bubbling --- app/assets/javascripts/app/lib/app_post/column_select.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/assets/javascripts/app/lib/app_post/column_select.coffee b/app/assets/javascripts/app/lib/app_post/column_select.coffee index 316f8708a..ec3f1307e 100644 --- a/app/assets/javascripts/app/lib/app_post/column_select.coffee +++ b/app/assets/javascripts/app/lib/app_post/column_select.coffee @@ -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