BUG: 'eventAnnotation' > Hash property not change

16 views
Skip to first unread message

mi...@stellarlibrary.com

unread,
Mar 12, 2018, 12:59:43 PM3/12/18
to PDFTron WebViewer
Hi,

When entering comments for an Annotation, the hash property does not change.

This object already has an Id, so you would expect the hash to reflect the object contents in full.

Regards

Mike

Matt Parizeau

unread,
Mar 13, 2018, 3:38:37 PM3/13/18
to PDFTron WebViewer
Hi Mike,

This hasn't happened in any version of WebViewer, so to clarify, you're requesting a feature? Since ReaderControl reads some configuration parameters from the hash we've disabled jQuery mobile's default hash changing behavior as it interferes, but even then this wouldn't quite give what you are looking for.

If you would like this behavior you would probably have to modify MobileReaderControl.js to update the hash when editing an annotation. The editAnnotationNote function would be a good place to start experimenting.

Matt Parizeau
Software Developer
PDFTron Systems Inc.
Reply all
Reply to author
Forward
0 new messages