Fix read-only selectboxes rejecting some values (same as r42732)

This commit is contained in:
Nathan Gray 2013-06-25 21:38:11 +00:00
parent 442c9e6356
commit 3ddf4a0300

View File

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