mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
API: support slot attribute on <template>
This commit is contained in:
parent
18493f1f28
commit
7448377e96
@ -708,6 +708,11 @@ export class etemplate2
|
||||
etemplate2._byTemplate[_name].push(this);
|
||||
|
||||
// Read the XML structure of the requested template
|
||||
if(etemplate2.templates[this.name].hasAttribute("slot"))
|
||||
{
|
||||
this.DOMContainer.setAttribute("slot", etemplate2.templates[this.name].getAttribute("slot"));
|
||||
}
|
||||
|
||||
this._widgetContainer.loadFromXML(etemplate2.templates[this.name]);
|
||||
console.timeEnd("loadFromXML");
|
||||
console.time("deferred");
|
||||
@ -1643,7 +1648,7 @@ export class etemplate2
|
||||
}
|
||||
else
|
||||
{
|
||||
egw.debug("error", "Could not find target node %s", data.DOMNodeId);
|
||||
egw.debug("error", "Could not find target node %s", data.DOMNodeID);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user