|
@@ -186,13 +186,13 @@ class App.UiElement.ApplicationUiElement
|
|
|
@selectedOptions: (attribute) ->
|
|
|
return if !attribute.options
|
|
|
|
|
|
- # lookup of any record, if it need to be selected
|
|
|
+ # lookup of any record, if it needs to be selected
|
|
|
for record in attribute.options
|
|
|
if @_selectedOptionsIsSelected(attribute.value, record)
|
|
|
record.selected = 'selected'
|
|
|
record.checked = 'checked'
|
|
|
|
|
|
- # if noting is selected / checked, use default as selected / checked
|
|
|
+ # if nothing is selected / checked, use default as selected / checked
|
|
|
selected = false
|
|
|
for record in attribute.options
|
|
|
if record.selected || record.checked
|