How can we help?
Let’s get you the support you need. Start a new support ticket below and
let us know how we can help:
');
wpsc_get_ticket_form();
}
/**
* Update live agents
*/
function wpsc_update_live_agents() {
if (!supportcandy.ticketListIsIndividual) {
return;
}
agent_id = jQuery("#wpsc-current-agent").val();
if (!agent_id) {
return;
}
if (typeof supportcandy.agent_collision === "undefined" || !supportcandy.agent_collision) {
return;
}
ticket_id = jQuery("#wpsc-current-ticket").val();
var data = { action: 'wpsc_check_live_agents', agent_id, ticket_id, operation: 'leave', _ajax_nonce: supportcandy.nonce };
jQuery.post(
supportcandy.ajax_url,
data,
function (response) {
}
);
}