Merge lp:~edwin-grubbs/launchpad/bug-516071-setup_add_member_handler into lp:launchpad
Proposed by
Edwin Grubbs
Status: | Merged |
---|---|
Approved by: | Edwin Grubbs |
Approved revision: | not available |
Merged at revision: | not available |
Proposed branch: | lp:~edwin-grubbs/launchpad/bug-516071-setup_add_member_handler |
Merge into: | lp:launchpad |
Diff against target: |
41 lines (+10/-10) 2 files modified
lib/lp/registry/templates/team-index.pt (+0/-10) lib/lp/registry/templates/team-portlet-membership.pt (+10/-0) |
To merge this branch: | bzr merge lp:~edwin-grubbs/launchpad/bug-516071-setup_add_member_handler |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Hummer (community) | code js | Approve | |
Canonical Launchpad Engineering | code | Pending | |
Review via email: mp+18629@code.launchpad.net |
Commit message
Fixed noncritical javascript error on team index page when the user is not a team admin.
To post a comment you must log in.
The team index page is generating a javascript error if a non-team-admin views the team index page, since the "Add member" link is not displayed, and it is trying to set its onclick handler.
I just moved the javascript which sets up the onclick handler inside the <td> that has a condition to check whether the "Add member" link is enabled.
./bin/test -vvt test_team_index --layer RegistryWindmil lLayer