Maintenance: Send checked CTI checkboxes AJAX calls via queue to avoid race conditions in updating the UI.

This commit is contained in:
Mantas Masalskis 2020-02-14 16:08:45 +01:00 committed by Thorsten Eckel
parent 4b6839cd82
commit 1579bebad4

View file

@ -213,6 +213,7 @@ class App.CTI extends App.Controller
type: 'POST' type: 'POST'
url: "#{@apiPath}/cti/done/#{id}" url: "#{@apiPath}/cti/done/#{id}"
data: JSON.stringify(done: done) data: JSON.stringify(done: done)
queue: 'cti_done_queue'
) )
newTicket: (user) => newTicket: (user) =>