mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
fix customfield with specified tab was also displayed in the default CF tab and therefore not storing its value
This commit is contained in:
parent
75662dd424
commit
1789b6be6f
@ -193,9 +193,9 @@ export class et2_customfields_list extends et2_valueWidget implements et2_IDetac
|
|||||||
for(let field_name in this.options.customfields)
|
for(let field_name in this.options.customfields)
|
||||||
{
|
{
|
||||||
if (exclude.indexOf(field_name) >= 0) continue;
|
if (exclude.indexOf(field_name) >= 0) continue;
|
||||||
if (this.options.customfields[field_name].tab === this.options.tab)
|
if (this.options.customfields[field_name].tab)
|
||||||
{
|
{
|
||||||
this.options.fields[field_name] = true;
|
this.options.fields[field_name] = this.options.customfields[field_name].tab === this.options.tab;
|
||||||
}
|
}
|
||||||
else if (default_tab)
|
else if (default_tab)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user