What steps will reproduce the problem?
1. Create a page with two document viewers.
2. Give them IDs that are not documentViewer
3. Try switching to 2 page view. Other ways, but this one was fastest.
What is the expected output? What do you see instead?
Expected: 2 page view. Result: Uncaught TypeError: Cannot read property
'onAddedTextOverlay' of null
What version of the product are you using? On what operating system?
2.2.9 with Annotations Plugin 2.2.9-1.0.91. Windows 7.
Please provide any additional information below.
The cause of this issue is the requirement for FlexPaper elements to use the ID
documentViewer. There are 4 instances in FlexPaperViewer.js which explicitly
query: jQuery('#documentViewer') or $FlexPaper('documentViewer') instead of
using the object's initialized ID.
While I can fix flexpaper.js, I can't touch FlexPaperViewer.js.
Original issue reported on code.google.com by
[email protected]on 22 Oct 2014 at 4:45