mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-19 04:46:42 +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
|
||||
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);
|
||||
|
Reference in New Issue
Block a user