Fix issues reloading the Issue Summary Table.

Review Request #10426 — Created Feb. 21, 2019 and submitted — Latest diff uploaded

Information

Review Board
release-4.0.x

Reviewers

The recent work on the Issue Summary Table caused a regression when
attempting to reload the table after an automated review. The JavaScript
view was setting the element as a child of #issue-summary, but when
reloading, we'd replace the view's element with the entire HTML of the
table, including the #issue-summary container. This caused a strange
nesting issue and broke element lookups, along with the rest of the
page.

We now once again use #issue-summary as the view's element, with the
selectors inside adjusted accordingly.

Unit tests pass.

Tested loading, interacting with, and reloading the table.

Commits

Files