Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#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

     
    137137
    138138            select = tag.select(id='parent_component',
    139139                                name='parent_component')
     140            select.append(tag.option('', value=''))
    140141            for comp in sorted(all_components):
    141142                if comp != component and \
    142143                        not self._ChModel.is_child(component, comp):

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

In 16091:

0.2: Allow Parent Component to be removed

Fixes #12992.

comment:2 Changed 7 years ago by Ryan J Ollos

Cc: falkb added
Owner: changed from falkb to Ryan J Ollos

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.