Choose a better default for the hosting account on the repository form.

Review Request #3539 — Created Nov. 19, 2012 and submitted

Information

Review Board
release-1.6.x

Reviewers

Choose a better default for the hosting account on the repository form.

When switching hosting services on the repository form, the Account
dropdown would default to "<Link a new account>", unless there was
already a matching account selected before. This is not a good default
when there are actual, valid accounts previously linked.

Now we choose the 1st real account as the default, unless we find a
previously selected account in the list, in which case that'll be the
default.
Tested with hosting services I had linked to accounts. Saw the new
expected sane defaults.
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-1.6.x (fbeb88)
Loading...