tsgrp / OpenAnnotate

TSG's Browser-based Annotation Tool
8 stars 4 forks source link

Extract PDF Gets Triggered Twice Per Execute #911

Closed newmanju closed 3 years ago

newmanju commented 3 years ago

Extract PDF gets triggered twice, once with no pages and once with the correct pages. It seems that either one of the events involved with this action is being triggered twice, or an event listener is configured twice and thus invokes the event handler twice for one event trigger.

newmanju commented 3 years ago

Closed with SVN revision 7422:

PRUNE PDF FEATURE MERGE PATCH - Fixed an issue with extractPages triggering twice. Using global events caused duplicate listeners for extractPages since there are two copies of the action: one fore the toolbar and one for the small dropdown CR: jnewman, jharkins