setting an (unlikely) custom delimiter, to allow to use "," in value, eg. folder-name, IF values are specified as array

This commit is contained in:
Ralf Becker 2014-07-21 12:58:08 +00:00
parent 0e21ee126b
commit 346215edc6

View File

@ -188,6 +188,9 @@ var et2_tree = et2_inputWidget.extend(
image_path: widget.options.image_path, image_path: widget.options.image_path,
checkbox: widget.options.multiple checkbox: widget.options.multiple
}); });
// to allow "," in value, eg. folder-names, IF value is specified as array
widget.input.dlmtr = ':}-*(';
if (widget.options.std_images) if (widget.options.std_images)
{ {
widget.setImages.apply(widget, widget.options.std_images.split(',')); widget.setImages.apply(widget, widget.options.std_images.split(','));