mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 20:51:23 +01:00
Prevent additional objectManagers.
Fixes separate selection problem with right clicks on sub-grids.
This commit is contained in:
parent
0bf0756a8e
commit
b179734df8
@ -239,8 +239,11 @@ var et2_nextmatch_controller = et2_dataview_controller.extend(et2_IDataProvider,
|
|||||||
// Initialize the object manager - look for application
|
// Initialize the object manager - look for application
|
||||||
// object manager 1 level deep
|
// object manager 1 level deep
|
||||||
var gom = egw_getObjectManager(this.egw.appName,true,1);
|
var gom = egw_getObjectManager(this.egw.appName,true,1);
|
||||||
|
if(this._objectManager == null)
|
||||||
|
{
|
||||||
this._objectManager = gom.addObject(
|
this._objectManager = gom.addObject(
|
||||||
new egwActionObjectManager(uid, this._actionManager));
|
new egwActionObjectManager(uid, this._actionManager));
|
||||||
|
}
|
||||||
this._objectManager.flags = this._objectManager.flags
|
this._objectManager.flags = this._objectManager.flags
|
||||||
| EGW_AO_FLAG_DEFAULT_FOCUS | EGW_AO_FLAG_IS_CONTAINER;
|
| EGW_AO_FLAG_DEFAULT_FOCUS | EGW_AO_FLAG_IS_CONTAINER;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user