From 56ed4e12675c23d2bdeca7bc37b79e3e51724bc1 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 22 Mar 2022 17:19:53 -0600 Subject: [PATCH] Et2Dialog: Fix incorrect properties declaration --- api/js/etemplate/Et2Dialog/Et2Dialog.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/js/etemplate/Et2Dialog/Et2Dialog.ts b/api/js/etemplate/Et2Dialog/Et2Dialog.ts index d07a089b36..87e4f493f9 100644 --- a/api/js/etemplate/Et2Dialog/Et2Dialog.ts +++ b/api/js/etemplate/Et2Dialog/Et2Dialog.ts @@ -180,10 +180,10 @@ export class Et2Dialog extends Et2Widget(ScopedElementsMixin(SlotMixin(LionDialo public static readonly YES_BUTTON : number = 2; public static readonly NO_BUTTON : number = 3; - get properties() + static get properties() { return { - ...super.properties(), + ...super.properties, callback: Function, // There's an issue with Et2DialogContent.style being undefined, so this has to stay false until it gets