From 1579bebad4a958de6ef376ee3e033ddf897b5227 Mon Sep 17 00:00:00 2001 From: Mantas Masalskis Date: Fri, 14 Feb 2020 16:08:45 +0100 Subject: [PATCH] Maintenance: Send checked CTI checkboxes AJAX calls via queue to avoid race conditions in updating the UI. --- app/assets/javascripts/app/controllers/cti.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/app/controllers/cti.coffee b/app/assets/javascripts/app/controllers/cti.coffee index ea65e59dc..58ee2ae46 100644 --- a/app/assets/javascripts/app/controllers/cti.coffee +++ b/app/assets/javascripts/app/controllers/cti.coffee @@ -213,6 +213,7 @@ class App.CTI extends App.Controller type: 'POST' url: "#{@apiPath}/cti/done/#{id}" data: JSON.stringify(done: done) + queue: 'cti_done_queue' ) newTicket: (user) =>