mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 23:59:39 +01:00
give all delete actions DEL key as shortcut
This commit is contained in:
parent
0f2983a504
commit
84713fbab3
@ -730,6 +730,12 @@ class nextmatch_widget
|
|||||||
$action['data']['nm_action'] = 'egw_open';
|
$action['data']['nm_action'] = 'egw_open';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// give all delete actions a delete shortcut
|
||||||
|
if ($id == 'delete' && !isset($action['shortcut']))
|
||||||
|
{
|
||||||
|
$action['shortcut'] = egw_keymanager::shortcut(EGW_KEY_DELETE);
|
||||||
|
}
|
||||||
|
|
||||||
static $egw_action_supported = array( // attributes supported by egw_action
|
static $egw_action_supported = array( // attributes supported by egw_action
|
||||||
'id','caption','iconUrl','type','default','onExecute','group',
|
'id','caption','iconUrl','type','default','onExecute','group',
|
||||||
'enabled','allowOnMultiple','hideOnDisabled','data','children',
|
'enabled','allowOnMultiple','hideOnDisabled','data','children',
|
||||||
|
Loading…
Reference in New Issue
Block a user