PKP Bugzilla – Bug 5941
limit "Look up Terms" click functionality
Last modified: 2013-03-06 13:05:42 PST
If the Look up Terms option in the Reading Tool is enabled, double-clicking anywhere on the screen while viewing any galley type (HTML, PDF, etc.) will cause the tool to pop up. Matt has a possible solution to this: wrap HTML galley content in a special div, and have the Look up Terms function tied to work only with content in that div, if present.
Shouldn't spend too much/any time on the current RT implementation, pending UI/UX refactor.
The containers for the galleys of individual document formats are not consistent. To fix this I tied the double click action to the following divs
* inlinePdfResizer for PDFs
* content if content element exists
* and I added a document fallback fallback as well if inlinePdfResizer and content don't exist.
Limit opening of reading tools to double ckicks within the galley