From 38250659b69c42b02af8ff527d516b301f1e215c Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Thu, 27 Oct 2016 08:46:51 +0200 Subject: [PATCH] Fixed issue#268 - No space at comment on ticket bulk action. --- app/assets/javascripts/app/controllers/ticket_overview.coffee | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/assets/javascripts/app/controllers/ticket_overview.coffee b/app/assets/javascripts/app/controllers/ticket_overview.coffee index 29a094202..76133bc69 100644 --- a/app/assets/javascripts/app/controllers/ticket_overview.coffee +++ b/app/assets/javascripts/app/controllers/ticket_overview.coffee @@ -110,6 +110,10 @@ class App.TicketOverview extends App.Controller $(window).off 'keydown.overview_navigation' listNavigate: (e) => + + # ignore if focus is in bulk action + return if $(e.target).is('textarea, input, select') + if e.keyCode is 38 # up e.preventDefault() @nudge(e, -1)