mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 23:48:28 +01:00
Don't fail if there are no actions, just initialize to empty array
This commit is contained in:
parent
d1cee69269
commit
c0ae7013a5
@ -117,6 +117,8 @@ var et2_nextmatch_controller = et2_dataview_controller.extend(
|
|||||||
// Generate a uid for the action and object manager
|
// Generate a uid for the action and object manager
|
||||||
var uid = this.egw.uid();
|
var uid = this.egw.uid();
|
||||||
|
|
||||||
|
if(_actions == null) _actions = [];
|
||||||
|
|
||||||
// Initialize the action manager and add some actions to it
|
// Initialize the action manager and add some actions to it
|
||||||
var gam = egw_getActionManager(this.egw.appName);
|
var gam = egw_getActionManager(this.egw.appName);
|
||||||
this._actionManager = gam.addAction("actionManager", uid);
|
this._actionManager = gam.addAction("actionManager", uid);
|
||||||
|
Loading…
Reference in New Issue
Block a user