Merge lp:~edwin-grubbs/launchpad/bug-516071-setup_add_member_handler into lp:launchpad
Proposed by
Edwin Grubbs
on 2010-02-04
| Status: | Merged |
|---|---|
| Approved by: | Edwin Grubbs on 2010-02-05 |
| 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 on 2010-02-04 | |
| Canonical Launchpad Engineering | code | 2010-02-04 | Pending |
|
Review via email:
|
|||
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.
| Edwin Grubbs (edwin-grubbs) wrote : | # |
review:
Approve
(code js)

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