forked from extern/egroupware
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?
|
||||
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
|
||||
this.options.fields[field_name] = true;
|
||||
|
Loading…
Reference in New Issue
Block a user