forked from extern/egroupware
Fix multi-part history fields gave error during creation due to not recognising that it was multi-part
"Uncaught TypeError: Cannot read properties of undefined"
This commit is contained in:
parent
66164ad2eb
commit
bdc74303bb
@ -449,7 +449,7 @@ export class et2_historylog extends et2_valueWidget implements et2_IDataProvider
|
||||
{
|
||||
// Require widget to be a widget, to avoid invalid widgets
|
||||
// (and template, which is a widget and an infolog todo status)
|
||||
if(et2_registry[field[j]] && ['template'].indexOf(field[j]) < 0)// && (et2_registry[field[j]].prototype.instanceOf(et2_valueWidget))
|
||||
if(et2_registry[field[j]] && ['template'].indexOf(field[j]) < 0 || customElements.get(field[j]) || typeof field[j] == "object")
|
||||
{
|
||||
need_box = true;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user