mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
Fix custom field filtering
This commit is contained in:
parent
4c41c36251
commit
dcba97a2ae
@ -81,9 +81,9 @@ var et2_customfields_list = et2_valueWidget.extend([et2_IDetachedDOM, et2_IInput
|
||||
}
|
||||
var types = this.options.customfields[field_name].type2.split(",");
|
||||
this.options.fields[field_name] = false;
|
||||
for(var i = 0; i < types; i++)
|
||||
for(var i = 0; i < types.length; i++)
|
||||
{
|
||||
if(jQuery.inArray(types[i],split) > 0)
|
||||
if(jQuery.inArray(types[i],this.options.type_filter) > -1)
|
||||
{
|
||||
this.options.fields[field_name] = true;
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user