diff --git a/etemplate/js/et2_core_widget.js b/etemplate/js/et2_core_widget.js index 5a9b891f98..2eea8090cd 100644 --- a/etemplate/js/et2_core_widget.js +++ b/etemplate/js/et2_core_widget.js @@ -509,8 +509,8 @@ var et2_widget = ClassWithAttributes.extend( attrValue = mgr.expandName(attrValue); } - // Parse the legacy options - var splitted = et2_csvSplit(attrValue); + // Parse the legacy options (as a string, other types not allowed) + var splitted = et2_csvSplit(attrValue+""); for (var j = 0; j < splitted.length && j < _proto.legacyOptions.length; j++) {