mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-15 19:24:21 +02:00
Make sure app ObjectManager is there before trying to use it
This commit is contained in:
@ -110,9 +110,12 @@ var et2_DOMWidget = et2_widget.extend(et2_IDOMNode,
|
||||
this._attachSet = {};
|
||||
|
||||
if(this._actionManager)
|
||||
{
|
||||
if(egw_getAppObjectManager(false))
|
||||
{
|
||||
var om = egw_getAppObjectManager(false).getObjectById(this.id);
|
||||
if(om) om.remove();
|
||||
}
|
||||
this._actionManager.remove();
|
||||
this._actionManager = null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user