mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
Make sure app ObjectManager is there before trying to use it
This commit is contained in:
parent
3230554c01
commit
6ec24b1b50
@ -111,8 +111,11 @@ var et2_DOMWidget = et2_widget.extend(et2_IDOMNode,
|
|||||||
|
|
||||||
if(this._actionManager)
|
if(this._actionManager)
|
||||||
{
|
{
|
||||||
var om = egw_getAppObjectManager(false).getObjectById(this.id);
|
if(egw_getAppObjectManager(false))
|
||||||
if(om) om.remove();
|
{
|
||||||
|
var om = egw_getAppObjectManager(false).getObjectById(this.id);
|
||||||
|
if(om) om.remove();
|
||||||
|
}
|
||||||
this._actionManager.remove();
|
this._actionManager.remove();
|
||||||
this._actionManager = null;
|
this._actionManager = null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user