mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 15:18:58 +01:00
Use an etemplate / top template level prefix to avoid DOM ID collisions
This commit is contained in:
parent
e5151adb93
commit
524f2b0f03
@ -83,6 +83,9 @@ function etemplate2(_container, _menuaction)
|
||||
this.DOMContainer = _container;
|
||||
this.menuaction = _menuaction;
|
||||
|
||||
// Unique ID to prevent DOM collisions across multiple templates
|
||||
this.uniqueId = egw().uid() + "-" + _container.getAttribute("id");
|
||||
|
||||
// Preset the object variable
|
||||
this.widgetContainer = null;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user