person picker in bug reports hides the header for non affiliated people
Bug #803990 reported by
Diogo Matsubara
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Ian Booth |
Bug Description
Steps to reproduce:
1. Log in with an user without any privileges or team memberships (e.g. ~dm-lptest)
2. Open https:/
3. Click the assigned to edit button. Notice there's only the assign to me link. See no-header-
4. Close it
5. Click the assigned to edit button again.
What happens:
The header "Select a team which you are a member" as well as the green line appears. See picker-
I was unable to reproduce this bug on launchpad.dev.
Related branches
lp:~wallyworld/launchpad/person-picker-header-803990
- Brad Crittenden (community): Approve (code)
-
Diff: 37 lines (+14/-6)1 file modifiedlib/lp/bugs/javascript/bugtask_index.js (+14/-6)
Changed in launchpad: | |
assignee: | nobody → Ian Booth (wallyworld) |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is deliberate:
if (conf.hide_ assignee_ team_selection) {
content_ box = assignee_ picker. get('contentBox ');
search_ box = content_ box.one( '.yui3- picker- search- box');
search_ box.setStyle( 'display' , 'none');
step_ title = content_ box.one( '.contains- steptitle' );
step_ title.setStyle( 'display' , 'none');
}
I agree it looks a bit strange, but I'm not sure what it should say.