From a178fd1cec04a2f27b1c2c008a34261df2481303 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 7 Feb 2013 16:05:32 +0000 Subject: [PATCH] Stop caring about multiple for readonly, display all values provided --- etemplate/js/et2_widget_selectbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_widget_selectbox.js b/etemplate/js/et2_widget_selectbox.js index 5f2608ca21..fcfbe6a4f0 100644 --- a/etemplate/js/et2_widget_selectbox.js +++ b/etemplate/js/et2_widget_selectbox.js @@ -605,7 +605,7 @@ var et2_selectbox_ro = et2_selectbox.extend([et2_IDetachedDOM], { }, 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(','); }