From f5a94e721ae5a26f817f0df75065b64f1f192eb3 Mon Sep 17 00:00:00 2001 From: Li Jun <buli@deloitte.com.cn> Date: 星期一, 28 三月 2022 21:43:51 +0800 Subject: [PATCH] PIPLFunctionDeploy0328 --- force-app/main/default/pages/InsReportPDF.page | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/force-app/main/default/pages/InsReportPDF.page b/force-app/main/default/pages/InsReportPDF.page index a58c973..fa829dd 100644 --- a/force-app/main/default/pages/InsReportPDF.page +++ b/force-app/main/default/pages/InsReportPDF.page @@ -230,7 +230,7 @@ iframe.setAttribute('style', 'position:absolute;right:0; top:0; bottom:0; height:100%; width:100%'); document.body.appendChild(iframe); iframe.src = pdf.output('datauristring'); - for(let e of document.body.childNodes){ + for(let ei in document.body.childNodes){let e=document.body.childNodes[ei]; if( e != iframe && e.style){ e.style.display = 'none'; } @@ -307,7 +307,7 @@ unblockUI(); document.getElementById("Responsible_Person__c").innerHTML = data.object.responsiblePerson; - setTimeout(() => { + setTimeout(function(){ jsPdfDownload(); }, 1500); }, staticResources.token); -- Gitblit v1.9.1