mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
Clear action manager, if present
This commit is contained in:
parent
0691903105
commit
30b300201e
@ -109,6 +109,14 @@ var et2_DOMWidget = et2_widget.extend(et2_IDOMNode,
|
||||
this.parentNode = null;
|
||||
this._attachSet = {};
|
||||
|
||||
if(this._actionManager)
|
||||
{
|
||||
var om = egw_getAppObjectManager(false).getObjectById(this.id);
|
||||
if(om) om.remove();
|
||||
this._actionManager.remove();
|
||||
this._actionManager = null;
|
||||
}
|
||||
|
||||
if (this._surroundingsMgr)
|
||||
{
|
||||
this._surroundingsMgr.free();
|
||||
|
Loading…
Reference in New Issue
Block a user