mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Don't return empty array for empty single selects, should fix some problems with empty selections
This commit is contained in:
parent
5fc0e88b68
commit
6fd841ebee
@ -751,7 +751,7 @@ var et2_selectbox = (function(){ "use strict"; return et2_inputWidget.extend(
|
||||
else
|
||||
{
|
||||
this.value = this._super.apply(this, arguments);
|
||||
if (this.value === null) this.value = []; // do NOT return null, as it does not get transmitted to server
|
||||
if (this.value === null) this.value = this.options.multiple ? [] : ""; // do NOT return null, as it does not get transmitted to server
|
||||
}
|
||||
return this.value;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user