Addressbook: Correct fix for CRM breaking contact list actions

etemplate2.clear() was not removing getting the correct app instance removed
This commit is contained in:
nathan 2022-10-19 10:54:11 -06:00
parent 7b0a6911d3
commit 1aa87138a2
2 changed files with 1 additions and 10 deletions

View File

@ -84,15 +84,6 @@ class AddressbookApp extends EgwApp
return;
}
// Contact view will also replace this.et2
if(name == 'addressbook.view')
{
// Still need to run super.et2_ready(), but replace this.et2 after
const list_et2 = this.et2;
super.et2_ready(et2, name);
this.et2 = list_et2;
}
// call parent
else
{

View File

@ -357,7 +357,7 @@ export class etemplate2
{
if(this.app_obj[app_name] instanceof EgwApp)
{
this.app_obj[app_name].destroy();
this.app_obj[app_name].destroy(this.app_obj);
}
}
}