Opened 8 years ago

Last modified 7 years ago

#1422 new defect

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 (1)

comment:1 Changed 7 years ago by gogo

  • Milestone changed from 0.96 to 0.97
Note: See TracTickets for help on using tickets.