If actionLinks is not set, set it to empty. Fixes error caused by no actions.

This commit is contained in:
Nathan Gray 2015-09-09 14:10:43 +00:00
parent f75264c66f
commit 48c3a39b0e

View File

@ -332,6 +332,11 @@ var et2_nextmatch_controller = et2_dataview_controller.extend(et2_IDataProvider,
var drop_action = mgr.getActionById('egw_link_drop');
var drag_action = mgr.getActionById('egw_link_drag');
if(!this._actionLinks)
{
this._actionLinks = [];
}
// Check if this app supports linking
if(!egw.link_get_registry(this.dataStorePrefix || this.egw.appName, 'query') ||