Skip to content

Commit

Permalink
#3676 - Error when rejecting annotation suggestion
Browse files Browse the repository at this point in the history
- Remove duplicate dispatch of event
  • Loading branch information
reckart committed Jan 1, 2023
1 parent 5995ffa commit 9968bb4
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -337,10 +337,6 @@ else if (suggestion instanceof RelationSuggestion) {
// Trigger a re-rendering of the document
Page page = aTarget.getPage();
page.send(page, Broadcast.BREADTH, new SelectionChangedEvent(aTarget));

// Send a UI event that the suggestion has been rejected
page.send(page, Broadcast.BREADTH,
new AjaxRecommendationRejectedEvent(aTarget, aState, recommendationVID));
}

@Override
Expand Down

0 comments on commit 9968bb4

Please sign in to comment.