fix infolog wont save, if cc was an empty string, seems taglist needs empty now as empty array, not null or ""

This commit is contained in:
Ralf Becker 2016-02-19 09:36:41 +00:00
parent 1b0c8eaad7
commit ab23ecb7f5

View File

@ -404,6 +404,7 @@ var et2_taglist = et2_selectbox.extend(
*/
set_value: function(value)
{
if (value === '' || value === null) value = [];
var values = jQuery.isArray(value) ? jQuery.extend([],value) : [value];
this.options.value = values;