Opened 11 years ago
Closed 11 years ago
#5453 closed defect (bug) (fixed)
xprofile Administration - js do not reset options when [x] clicked
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.0 | Priority: | normal |
Severity: | normal | Version: | 1.5 |
Component: | Extended Profile | Keywords: | has-patch commit |
Cc: |
Description
Hi,
While testing #5220, i've found that when creating/editing a field with options to set (radio / checkbox / selectbox..). If you add some text in the option field, then click on [x]
link, the field is hidden, but the value is not removed. As a result when saving / updating the field, the "removed" option is saved.
I think it's a js issue due to the fact the id of the field is different thant the id of the container div. I suggest the attached diff to solve it.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Good find. I've confirmed this exist all the way back to 1.5 (it wasn't easy to go much further back).