Fix home cannot find its portlet templates

This reverts commit ff0cdf8143.
This commit is contained in:
nathangray 2020-07-20 14:34:10 -06:00
parent b0a678c0ec
commit bd6b20bae8
2 changed files with 0 additions and 5 deletions

View File

@ -417,8 +417,6 @@ 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;

View File

@ -533,9 +533,6 @@ 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)
{