Modify ↓
#12992 closed defect (fixed)
Can't unselect parent from admin panel
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | ComponentHierarchyPlugin |
Severity: | normal | Keywords: | |
Cc: | falkb | Trac Release: |
Description
When editing a component from the admin panel, I don't see a way to select no parent. The following change would seem to fix the issue:
-
componenthierarchy/admin.py
137 137 138 138 select = tag.select(id='parent_component', 139 139 name='parent_component') 140 select.append(tag.option('', value='')) 140 141 for comp in sorted(all_components): 141 142 if comp != component and \ 142 143 not self._ChModel.is_child(component, comp):
Attachments (0)
Change History (2)
comment:1 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 8 years ago by
Cc: | falkb added |
---|---|
Owner: | changed from falkb to Ryan J Ollos |
Note: See
TracTickets for help on using
tickets.
In 16091: