From 9137fecfb6fc98afc76743c3c88579baca188b3d Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 6 Mar 2013 23:14:12 +0100 Subject: [PATCH] Fixed background screen if sort order is used. --- .../javascripts/app/controllers/agent_ticket_history.js.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/agent_ticket_history.js.coffee b/app/assets/javascripts/app/controllers/agent_ticket_history.js.coffee index 7e02bba14..275dc18f1 100644 --- a/app/assets/javascripts/app/controllers/agent_ticket_history.js.coffee +++ b/app/assets/javascripts/app/controllers/agent_ticket_history.js.coffee @@ -55,7 +55,8 @@ class App.TicketHistory extends App.ControllerModal # show frontend times @delay( @frontendTimeUpdate, 200 ) - sortorder: -> + sortorder: (e) -> + e.preventDefault() isSorted = @el.find('.sorted') @log 'is sorted?', isSorted if isSorted.length