Stop caring about multiple for readonly, display all values provided

This commit is contained in:
Nathan Gray 2013-02-07 16:05:32 +00:00
parent 3fdce9467a
commit a178fd1cec

View File

@ -605,7 +605,7 @@ var et2_selectbox_ro = et2_selectbox.extend([et2_IDetachedDOM], {
}, },
set_value: function(_value) { set_value: function(_value) {
if(typeof _value == "string" && _value.match(/[,0-9]+$/) !== null && this.options.multiple) if(typeof _value == "string" && _value.match(/[,0-9]+$/) !== null)
{ {
_value = _value.split(','); _value = _value.split(',');
} }