Modify ↓
Opened 12 years ago
Closed 12 years ago
#11170 closed defect (fixed)
Reset width and height of textarea after changing orders of custom fields
| Reported by: | Jun Omae | Owned by: | Jun Omae |
|---|---|---|---|
| Priority: | normal | Component: | CustomFieldAdminPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.12 |
Description
How to reproduce
- Add custom field as
textareawith 42 for width and 3 for height - Visit "Manage Custom Fields" panel and click "Apply changes" button
- Reset cols and rows of the field to default
TicketSystem.get_custom_fields() returns width and height property in a ditionary for textarea type. However, the properties are field-name.cols and field-name.rows in trac.ini. Therefore, the plugin doesn't keep the values.
customfieldadminplugin-r13282.diff, unit tests pass on Trac 0.11.3 - 1.0.1.
Attachments (1)
Change History (4)
Changed 12 years ago by
| Attachment: | customfieldadminplugin-r13282.diff added |
|---|
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
| Owner: | changed from osimons to Jun Omae |
|---|
Thanks - looks good to me. Jun, feel free to commit this yourself.
Note: See
TracTickets for help on using
tickets.



Another thing is that the
colsfield gets focus after clicking therowsfield on Firefox. The patch includes the fix for it.