mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
set id of DOM container, in case server-side returned a different eTemplate
This commit is contained in:
parent
382a9576c7
commit
8e213a7de5
@ -996,6 +996,8 @@ var etemplate2 = /** @class */ (function () {
|
||||
// @ts-ignore
|
||||
if (this && typeof this.load == 'function') {
|
||||
// Called from etemplate
|
||||
// set id in case serverside returned a different template
|
||||
this._DOMContainer.id = this.uniqueId = data.DOMNodeID;
|
||||
// @ts-ignore
|
||||
this.load(data.name, data.url, data.data);
|
||||
return true;
|
||||
|
@ -1284,6 +1284,8 @@ export class etemplate2
|
||||
if (this && typeof this.load == 'function')
|
||||
{
|
||||
// Called from etemplate
|
||||
// set id in case serverside returned a different template
|
||||
this._DOMContainer.id = this.uniqueId = data.DOMNodeID;
|
||||
// @ts-ignore
|
||||
this.load(data.name, data.url, data.data);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user