mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-30 22:51:37 +02:00
Don't fail if there are no actions, just initialize to empty array
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user