Fix updates when publishing/discarding from the review dialog.

Review Request #12931 — Created April 3, 2023 and submitted

david
Review Board
release-6.x
reviewboard

The new review banner worked correctly when publishing or discarding
from the banner, but the page would fail to update correctly when
publishing or discarding from the review dialog.

This fix involved changes in two places:
1. In the unified banner, we listened to the destroyed signal for the
draft review instead of destroy. destroy is emitted too soon, and
gets handled before the model has reset its attributes.
2. In the review dialog, when publishing, we explicitly reload the page
at the end of the process.

Published and discarded reviews from the review dialog. Saw everything
update correctly.

Summary
Fix updates when publishing/discarding from the review dialog.
Description From Last Updated

Typo in the description: "listed to the ..." -> "listened to the ..."

chipx86chipx86
chipx86
  1. 
      
  2. Typo in the description: "listed to the ..." -> "listened to the ..."

  3. 
      
david
chipx86
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-6.x (6d7f19c)
Loading...