You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
Uncaught TypeError: Cannot set property 'annotationAvailable' of undefined
at PDFViewer.updateAnnotationAvailable_ (pdf_viewer.js:1247)
at PDFViewer.setDocumentMetadata (pdf_viewer.js:1144)
at PluginController.handlePluginMessage_ (pdf_viewer.js:1591)
at HTMLEmbedElement. (pdf_viewer.js:1437)
Activity
mubarakmujawar123 commentedon Jun 19, 2019
Before issue resolve
setTimeout(function(){
mywindow.print();
mywindow.document.close(); // necessary for IE >= 10
mywindow.close();
}, 500);
I add below code in separate setTimeout function and also remove "mywindow.document.close();" then its working fine for me
setTimeout(function () { mywindow.print(); }, 100);
setTimeout(function () { mywindow.close(); }, 1000);