Fix a couple bugs in the unified banner.

Review Request #12899 — Created March 21, 2023 and submitted — Latest diff uploaded

Information

Review Board
release-6.x

Reviewers

This change fixes up two issues we've found while testing the unified
banner:

  1. Selecting a single review reply and then clicking "Publish" would end
    up publishing all replies. This was due to a conditional that needed
    to be done in the opposite order.
  2. A last-minute change for the handler that scrolls to the selected
    review reply left it with some undefined variable errors (since we
    were no longer getting the model from the arguments). This has been
    fixed to use this.model.

Verified that both bugs were fixed.

Commits

Files