mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Fix legacy dialog gave error without parent
This commit is contained in:
parent
cdbdf53d46
commit
6d538f29f0
@ -51,9 +51,9 @@ import {et2_attribute_registry, et2_register_widget, et2_widget} from "./et2_cor
|
||||
export class et2_dialog extends Et2Dialog
|
||||
{
|
||||
|
||||
constructor(parent, attrs?)
|
||||
constructor(parent?, attrs?)
|
||||
{
|
||||
super(parent.egw());
|
||||
super(parent?.egw() || egw);
|
||||
if(attrs)
|
||||
{
|
||||
this.transformAttributes(attrs);
|
||||
|
Loading…
Reference in New Issue
Block a user