Fix a regression in collapsing the diff commit list.

Review Request #13294 — Created Sept. 29, 2023 and submitted — Latest diff uploaded

Information

Review Board
release-6.x

Reviewers

The diff commit list on the review request box regressed recently with
an event handler cleanup. Both expanding and collapsing the diff
resulted in an expanded state, as both handlers were passing true for
expand.

This updates the collapse handler to pass false, allowing collapsing
to work again.

Manually tested repeatedly expanding and collapsing the list.

Verified this fixed unit test breakages.

Commits

Files