Opened 10 years ago
Closed 13 months ago
#1422 closed defect (fixed)
Combobox options are defined in (unordered) object data structure, but it is treated as an ordered data structure
Reported by: | guest | Owned by: | gogo |
---|---|---|---|
Priority: | normal | Milestone: | 0.97 |
Component: | Xinha Core | Version: | trunk |
Severity: | major | Keywords: | combobox options config |
Cc: |
Description
Around line 4611 of XinhaCore?.js, in prototype.updateToolbar, the selectedIndex of the fontname- and fontsize-comboboxes is determined based on the position of the selected option in the config's option listing. This listing is an object, i.e. unordered, so it cannot be assumed that the order in which the properties of such an object are handled by an iterator are in any way constant or consistent.
Change History (2)
comment:1 Changed 9 years ago by gogo
- Milestone changed from 0.96 to 0.97
comment:2 Changed 13 months ago by gogo
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
It has never actually caused a problem (perhaps by luck), but [1389] fixes this.