Server IP : 104.21.14.48 / Your IP : 3.148.117.177 [ Web Server : Apache System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64 User : root ( 0) PHP Version : 8.0.30.2 Disable Function : NONE Domains : 0 Domains MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/wp-content/plugins/check-email/assets/js/admin/ |
Upload File : |
( function( $ ) { $( document ).ready(function() { $( '#search_id-search-date-input' ).datepicker({ changeMonth: true, changeYear: true, dateFormat: 'yy-mm-dd' }); $( document ).on('click', '#thickbox-footer-close', function( event ) { event.preventDefault(); tb_remove(); }); // Sent status tool tip. $( ".el-help" ).tooltip( { content: function() { return $( this ).prop( "title" ); }, position: { my: "center top", at: "center bottom+10", collision: "flipfit" }, hide: { duration: 100 }, show: { duration: 100 } }); }); var tabsInsertedEvent = 'tabs_elem_inserted'; insertionQ( '#tabs' ).every(function ( element ) { $( element ).trigger( tabsInsertedEvent ) }); $( document ).on( tabsInsertedEvent, function() { var activeTabIndex = parseInt( $( "#tabs ul" ).data( "active-tab" ) ); activeTabIndex = isNaN( activeTabIndex ) ? 1 : activeTabIndex; $( "#tabs" ).tabs( { active: activeTabIndex } ); } ); })( jQuery ); function showPrint() { document.getElementById('check_mail_print_button').style.display = ''; } function hidePrint() { document.getElementById('check_mail_print_button').style.display = 'none'; } function printLog() { document.getElementById('TB_ajaxWindowTitle').innerHTML = "<h3>Email Content</h3>"; document.getElementById('TB_closeWindowButton').style.display = "none"; document.querySelectorAll('.check_mail_non-printable').forEach(function(el) { el.style.display = 'none'; }); var divToPrint=document.getElementById('TB_window'); email_log_table = document.getElementById('email_log_table') email_log_table.querySelectorAll('tr').forEach(function(tr) { tr.style.background = '#eee'; }); email_log_table.style.border = "1px solid #000" email_log_table.style.borderWidth = "1px"; email_log_table.style.borderColor = "#000"; email_log_table.style.borderStyle = "solid"; tabs = document.getElementById('tabs') tabs.style.border = "1px solid #000" tabs.style.marginTop = "30px"; tabs.style.height = "200px"; tabs.style.padding = "20px 10px 20px 20px";; tabs.style.borderWidth = "1px"; tabs.style.borderColor = "#000"; tabs.style.borderStyle = "solid"; var pdf = new jsPDF('p', 'pt'); pdf.canvas.height = 72 * 11; pdf.canvas.width = 72 * 8.5; pdf.fromHTML('<html><body onload="window.print()">'+divToPrint.innerHTML+'</body></html>'); jQuery('.tb-close-icon').click(); }