mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
set id of DOMContainer, in case it changed because server-side send a different template
This commit is contained in:
parent
b398935fd6
commit
ff0cdf8143
@ -398,6 +398,8 @@ var etemplate2 = /** @class */ (function () {
|
||||
this._widgetContainer.setApiInstance(egw(currentapp, egw.elemWindow(this._DOMContainer)));
|
||||
this._widgetContainer.setInstanceManager(this);
|
||||
this._widgetContainer.setParentDOMNode(this._DOMContainer);
|
||||
// set id of DOMContainer, in case it changed because server-side send a different template
|
||||
this._DOMContainer.id = this.uniqueId = _name.replace(/\./g, '-');
|
||||
// store the id to submit it back to server
|
||||
if (_data) {
|
||||
this._etemplate_exec_id = _data.etemplate_exec_id;
|
||||
|
@ -506,6 +506,9 @@ export class etemplate2
|
||||
this._widgetContainer.setInstanceManager(this);
|
||||
this._widgetContainer.setParentDOMNode(this._DOMContainer);
|
||||
|
||||
// set id of DOMContainer, in case it changed because server-side send a different template
|
||||
this._DOMContainer.id = this.uniqueId = _name.replace(/\./g, '-');
|
||||
|
||||
// store the id to submit it back to server
|
||||
if (_data)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user