Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.js |
— | — | @@ -162,11 +162,11 @@ |
163 | 163 | ) |
164 | 164 | .appendTo( groupDiv ); |
165 | 165 | // Appends options |
166 | | - for ( item in section.groups[group][tool].list ) { |
| 166 | + for ( option in section.groups[group][tool].list ) { |
167 | 167 | selectDiv.append( |
168 | 168 | $( '<option/>' ) |
169 | | - .text( ( section.groups[group][tool].list[item].label || gM( section.groups[group][tool].list[item].labelMsg ) ) ) |
170 | | - .attr( 'value', item ) |
| 169 | + .text( ( section.groups[group][tool].list[option].label || gM( section.groups[group][tool].list[option].labelMsg ) ) ) |
| 170 | + .attr( 'value', option ) |
171 | 171 | ); |
172 | 172 | } |
173 | 173 | break; |