'); printWindow.document.close(); $('#acceptedOrNeedsReview').style.display = currentDisplayStyle; printWindow.focus(); printWindow.print(); printWindow.close(); } document.getElementById('tne_view_modal-submit-btn').onclick = () => { const submitBtn = document.getElementById("tne_view_modal-submit-btn"); const sig = document.getElementById("tne_view_modal-signatureField"); const date = document.getElementById("tne_view_modal-signedDateField"); const reason = document.querySelector("textarea[name='tne_view_modal-rejection_reason']"); const decision = document.querySelector("input[name='tne_view_modal-review_decision']:checked").value; console.log("Submit pressed: decision = " + decision); if (decision === "accept") { if (!sig.value.trim()) { alert("Please enter a signature."); sig.focus(); e.preventDefault(); return; } if (!date.value.trim()) { alert("Please select a date."); date.focus(); e.preventDefault(); return; } } else if (decision === "reject") { if (!reason.value.trim()) { alert("Please enter a reason for requesting a review."); reason.focus(); e.preventDefault(); return; } } console.log ("Need to submit the following:"); console.log ("file: " + submitBtn.dataset.file); console.log ("for: " + submitBtn.dataset.email); console.log ("signature: " + sig.value.trim()); console.log ("date: " + date.value.trim()); console.log ("reason: " + reason.value.trim()); // Need to post the ajax call to submit the decision.... $('#tne_view_modal-submit-btn').disabled = true; var data = new FormData(); data.append('action', 'tne_review_action'); data.append('nonce', nonce); data.append('user_email', submitBtn.dataset.email); data.append('tne_file', submitBtn.dataset.file); data.append('review_decision', decision); data.append('signature', sig.value.trim()); data.append('signed_date', date.value.trim()); data.append('review_reason', reason.value.trim()); fetch(ajaxUrl, { method: 'POST', credentials: 'same-origin', body: data // method: 'POST', // headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, // body: new URLSearchParams({ action: 'tne_email_requests', file, nonce }) }) .then(res => res.json()) .then(json => { if (!json.success) { alert('Error: ' + json.data); $('#tne_view_modal-submit-btn').disabled = false; } else { window.location.href = window.location.href; // window.location.reload(true); } }) .catch(function(err) { console.error(err); alert('Error posting your decision.'); $('#tne_view_modal-submit-btn').disabled = false; }); } const radios = document.querySelectorAll("input[name='tne_view_modal-review_decision']"); radios.forEach(radio => { radio.addEventListener("change", () => { const selected = document.querySelector("input[name='tne_view_modal-review_decision']:checked").value; document.getElementById("tne_view_modal-acceptBlock").style.display = selected === "accept" ? "block" : "none"; document.getElementById("tne_view_modal-rejectBlock").style.display = selected === "reject" ? "block" : "none"; }); }); // $('#tne-uv-table').ondblclick = e => { // const btn = e.target.closest('button.tne-uv-view-btn'); // if (btn) openFullModal(btn.dataset.file, btn.dataset.date); // }; })(); }); //# sourceURL=tne-uv-script-js-after

Mollie WIlson

20260513_MollieWilson_01

Front Desk Staff Associate

Mollie joined IHMC in April of 2026 as a Front Desk Staff Associate. Before coming to IHMC Mollie graduated from Pensacola Private School of Liberal Arts in 2025 and is currently aiming to pursue college in the fall. In her spare time, Mollie enjoys sewing, graphic design, collaging, and occasionally painting.