diff --git a/src/main/webapp/resources/applib/html/pdf.html b/src/main/webapp/resources/applib/html/pdf.html index 291b719..5d7b4d4 100644 --- a/src/main/webapp/resources/applib/html/pdf.html +++ b/src/main/webapp/resources/applib/html/pdf.html @@ -3,54 +3,32 @@ - - - - - - - - - - - - - - - - - - 샘플 보기 -
+
- - - - - - - - - - - - - - - - diff --git a/src/main/webapp/resources/applib/js/app-support.js b/src/main/webapp/resources/applib/js/app-support.js index 7e98ec5..003470b 100644 --- a/src/main/webapp/resources/applib/js/app-support.js +++ b/src/main/webapp/resources/applib/js/app-support.js @@ -213,13 +213,15 @@ class AppSupport { * PDF파일 미리보기 창 열기 **************************************************************************/ static openPDF(blob, windowName){ - + let wctxpath = wctx.path; + var popup = window.open( - wctx.url("/webjars/applib/html/pdf.html") + wctx.url("/webjars/applib/html/pdf.html")+"?wctxpath="+wctxpath ,windowName ,'top=10, left=10' ); popup.onload = () => { + popup.makePdfFromBlob(blob); }; }