From 386a7526693d80d01503a03e26ea84043f917c81 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Mon, 15 Feb 2016 12:48:52 +0100 Subject: [PATCH 1/3] 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 From 479cf9df034bc5c5bf323849ca718ed86fc626cc Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Mon, 15 Feb 2016 16:36:34 +0100 Subject: [PATCH 2/3] chat settings: adjust controls --- .../javascripts/app/views/customer_chat/setting.jst.eco | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/app/views/customer_chat/setting.jst.eco b/app/assets/javascripts/app/views/customer_chat/setting.jst.eco index ed4f22deb..a80c1203e 100644 --- a/app/assets/javascripts/app/views/customer_chat/setting.jst.eco +++ b/app/assets/javascripts/app/views/customer_chat/setting.jst.eco @@ -23,9 +23,9 @@ <% for chat in @chats: %> <%= chat.name %> - - -