Accept any multiple CSV, not just numeric IDs

This commit is contained in:
Nathan Gray 2013-06-10 23:38:02 +00:00
parent b45a7d7439
commit 62a28e88fc

View File

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