mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-16 21:13:23 +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
4b655bf542
commit
13a723c0fb
@ -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