mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
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:
parent
7b0a6911d3
commit
1aa87138a2
@ -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
|
||||
{
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user