PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/logokingdom.online/wp-content/plugins/wp-live-chat-support/js/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //home/trave494/logokingdom.online/wp-content/plugins/wp-live-chat-support/js/wplc_transcript.js |
jQuery('body').on('click', '#chatTranscriptTitle, #wplc_admin_email_transcript, .endChat', sendTranscript); function sendTranscript(event) { var data = {}; var isCloseChatClicked = false; if (jQuery(event.target).hasClass('endChat')) { isCloseChatClicked = true; data.el = 'endChat'; } if (jQuery('#chatTranscriptTitle').length) { if (!isCloseChatClicked) { jQuery("#chatTranscriptTitle").addClass('is-disabled'); } var cur_id = jQuery('#chatCloseTitle').attr('cid'); data.action = 'wplc_et_admin_email_transcript'; data.security = wplc_transcript_nonce.ajax_nonce; data.cid = cur_id; jQuery.post(ajaxurl, data, function(response) { if (typeof response === 'string' && response.length < 1) { return; } returned_data = JSON.parse(response); if (returned_data.constructor === Object) { jQuery('.nifty_admin_chat_prompt, .nifty_admin_overlay').css('display', 'block'); jQuery('#nifty_admin_chat_prompt_confirm').css('display', 'none'); jQuery('.nifty_admin_chat_prompt_title').html(wplc_transcript_nonce.string_title); jQuery('#nifty_admin_chat_prompt_cancel').html(wplc_transcript_nonce.string_close); if (returned_data.errorstring) { jQuery('.nifty_admin_chat_prompt_message').html(wplc_transcript_nonce.string_error1); } else { jQuery('.nifty_admin_chat_prompt_message').html(wplc_transcript_nonce.string_chat_emailed); } } }); } else { if (!isCloseChatClicked) { jQuery(".wplc_admin_email_transcript").hide(); html = "<span class='wplc_et_loading'><em>" + wplc_transcript_nonce.string_loading + "</em></span>"; jQuery(".wplc_admin_email_transcript").after(html); } var cur_id = jQuery(this).attr("cid"); data.action = 'wplc_et_admin_email_transcript'; data.security = wplc_transcript_nonce.ajax_nonce; data.cid = cur_id; jQuery.post(ajaxurl, data, function (response) { returned_data = JSON.parse(response); if (returned_data.constructor === Object) { if (returned_data.errorstring) { jQuery(".wplc_admin_email_transcript").after("<p><strong>" + wplc_transcript_nonce.string_error1 + "</strong></p>"); } else { jQuery(".wplc_et_loading").hide(); html = "<span class=''>" + wplc_transcript_nonce.string_chat_emailed + "</span>"; jQuery("#wplc_admin_email_transcript").after(html); jQuery("#wplc_admin_email_transcript").hide(); } } }); } }