mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-25 14:41:50 +01:00
Fix customfield sub-type restriction blocking all customfields
This commit is contained in:
parent
c93b1d7080
commit
92aa694f97
@ -89,7 +89,8 @@ var et2_customfields_list = et2_valueWidget.extend([et2_IDetachedDOM, et2_IInput
|
|||||||
// Already excluded?
|
// Already excluded?
|
||||||
if(already_filtered && !this.options.fields[field_name]) continue;
|
if(already_filtered && !this.options.fields[field_name]) continue;
|
||||||
|
|
||||||
if(!this.options.customfields[field_name].type2 || this.options.customfields[field_name].type2.length == 0)
|
if(!this.options.customfields[field_name].type2 || this.options.customfields[field_name].type2.length == 0 ||
|
||||||
|
this.options.customfields[field_name].type2 == '0')
|
||||||
{
|
{
|
||||||
// No restrictions
|
// No restrictions
|
||||||
this.options.fields[field_name] = true;
|
this.options.fields[field_name] = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user