mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-01 03:29:05 +01:00
Make sure there is fields object
This commit is contained in:
parent
2ec5fc5633
commit
707eb127fb
@ -291,7 +291,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