var myWebViewer = new PDFTron.WebViewer({
type: 'html5',
html5Path: 'lib/html5/ReaderControl.html',
config: 'pdftron.config.js',
initialDoc: '../proxy/resource/terms/xod/6650-4',
documentId: '6650-4',
enableAnnotations: true,
streaming: false
}, viewerElement);
readerControl.docViewer.getAnnotationManager().importAnnotationsAsync(data.firstChild.textContent, function (annotations) {
readerControl.fireEvent('annotationsLoaded');
});
It appears that this is what is causing the problem. If I remove those lines it works and I dont need my"fix" in CoreControls.js – which as you say only hides the problem anyway.
Thanks for the help.
--
You received this message because you are subscribed to a topic in the Google Groups "PDFTron WebViewer" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pdfnet-webviewer/26IjbIyRhSw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pdfnet-webviewer+unsubscribe@googlegroups.com.
To post to this group, send email to pdfnet-webviewer@googlegroups.com.
Visit this group at https://groups.google.com/group/pdfnet-webviewer.
For more options, visit https://groups.google.com/d/optout.
It is one of the examples received with the package version 6.1.66 and also can be found in the following linkThanksTalis