mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Make sure there is fields object
This commit is contained in:
parent
4b4c5e8a84
commit
464b933e38
@ -301,7 +301,7 @@ var et2_customfields_list = et2_valueWidget.extend([et2_IDetachedDOM, et2_IInput
|
||||
_attrs["value"] = {};
|
||||
if (val !== null)
|
||||
{
|
||||
if(this.id.indexOf(this.prefix) === 0 && data.fields[this.id.replace(this.prefix,'')] === true)
|
||||
if(this.id.indexOf(this.prefix) === 0 && typeof data.fields != 'undefined' && data.fields[this.id.replace(this.prefix,'')] === true)
|
||||
{
|
||||
_attrs['value'][this.id] = val;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user