Commit 2b9a5fdb authored by David Stutz's avatar David Stutz

Manually merged #713, fixed #712, #669, #696.

parent 08c7013e
...@@ -1414,12 +1414,12 @@ ...@@ -1414,12 +1414,12 @@
else { else {
var attributes = { var attributes = {
value: option.value, 'value': option.value,
label: option.label || option.value, 'label': option.label || option.value,
title: option.title, 'title': option.title,
class: option.class, 'class': option.class,
selected: !!option.selected, 'selected': !!option.selected,
disabled: !!option.disabled 'disabled': !!option.disabled
}; };
//Loop through attributes object and add key-value for each attribute //Loop through attributes object and add key-value for each attribute
for (var key in option.attributes) { for (var key in option.attributes) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment