mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 20:01:36 +02:00
If actionLinks is not set, set it to empty. Fixes error caused by no actions.
This commit is contained in:
parent
f75264c66f
commit
48c3a39b0e
@ -333,6 +333,11 @@ var et2_nextmatch_controller = et2_dataview_controller.extend(et2_IDataProvider,
|
|||||||
var drop_action = mgr.getActionById('egw_link_drop');
|
var drop_action = mgr.getActionById('egw_link_drop');
|
||||||
var drag_action = mgr.getActionById('egw_link_drag');
|
var drag_action = mgr.getActionById('egw_link_drag');
|
||||||
|
|
||||||
|
if(!this._actionLinks)
|
||||||
|
{
|
||||||
|
this._actionLinks = [];
|
||||||
|
}
|
||||||
|
|
||||||
// Check if this app supports linking
|
// Check if this app supports linking
|
||||||
if(!egw.link_get_registry(this.dataStorePrefix || this.egw.appName, 'query') ||
|
if(!egw.link_get_registry(this.dataStorePrefix || this.egw.appName, 'query') ||
|
||||||
egw.link_get_registry(this.dataStorePrefix || this.egw.appName, 'title'))
|
egw.link_get_registry(this.dataStorePrefix || this.egw.appName, 'title'))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user