diff --git a/api/js/etemplate/Et2Dialog/Et2Dialog.ts b/api/js/etemplate/Et2Dialog/Et2Dialog.ts index dc78afae78..90317ae4c9 100644 --- a/api/js/etemplate/Et2Dialog/Et2Dialog.ts +++ b/api/js/etemplate/Et2Dialog/Et2Dialog.ts @@ -494,6 +494,12 @@ export class Et2Dialog extends Et2Widget(ScopedElementsMixin(SlotMixin(LionDialo { this._template_widget.clear(); } + + // Etemplate wants a content + if(typeof this.__value.content === "undefined") + { + this.__value.content = {}; + } this._template_widget = new etemplate2(this._overlayContentNode._contentNode); if(this.__template.indexOf('.xet') > 0) {