mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
we need to return null for no value instead of empty array, which gets overwritten by preserved value on server-side
This commit is contained in:
parent
d537853c54
commit
9ca870d1e7
@ -717,7 +717,8 @@ var et2_selectbox = et2_inputWidget.extend(
|
||||
{
|
||||
var value = [];
|
||||
jQuery("input:checked",this.multiOptions).each(function(){value.push(this.value);});
|
||||
this.value = value;
|
||||
// we need to return null for no value instead of empty array, which gets overwritten by preserved value on server-side
|
||||
this.value = value.length > 0 ? value : null;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user