Fix default branch selection in post-commit UI.

Review Request #8032 — Created March 5, 2016 and submitted — Latest diff uploaded

Information

Review Board
release-2.5.x
00be043...

Reviewers

The refactoring and improvements I did to RB.CollectionView broke the
selection of the default branch in the post-commit section of the New Review
Request UI. This wasn't super critical, except in the case where there's only a
single branch, in which case the commits would never be listed.

I've updated the function naming to match the new name in CollectionView.

Loaded a repository in the New Review Request UI and saw the list of commits on
the default branch without having to click anything.

    Loading...