mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-09 16:35:02 +02:00
Use an etemplate / top template level prefix to avoid DOM ID collisions
This commit is contained in:
@ -82,7 +82,10 @@ function etemplate2(_container, _menuaction)
|
||||
// Copy the given parameters
|
||||
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;
|
||||
|
||||
|
Reference in New Issue
Block a user