From 8a033b6b9a975fec44e2ed94b92e609baa1e941f Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 22 Mar 2022 15:42:39 -0600 Subject: [PATCH] Fix sometimes missing namespace causing some child widgets to have their value in the wrong place --- api/js/etemplate/Et2Widget/Et2Widget.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api/js/etemplate/Et2Widget/Et2Widget.ts b/api/js/etemplate/Et2Widget/Et2Widget.ts index e9dcbb84b5..50c8f3b631 100644 --- a/api/js/etemplate/Et2Widget/Et2Widget.ts +++ b/api/js/etemplate/Et2Widget/Et2Widget.ts @@ -337,6 +337,12 @@ const Et2WidgetMixin = (superClass) => let dom_id = ""; if(this._widget_id) { + // Create a namespace for this object with new ID + if(this._createNamespace()) + { + this.checkCreateNamespace(); + } + let path = this.getPath(); if(this.getInstanceManager()) {