mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +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
|
||||
var uid = this.egw.uid();
|
||||
|
||||
if(_actions == null) _actions = [];
|
||||
|
||||
// Initialize the action manager and add some actions to it
|
||||
var gam = egw_getActionManager(this.egw.appName);
|
||||
this._actionManager = gam.addAction("actionManager", uid);
|
||||
|
Loading…
Reference in New Issue
Block a user