mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
new preference about how to select additional lines in lists
This commit is contained in:
parent
7f9db3701b
commit
0238118906
@ -902,7 +902,8 @@ class nextmatch_widget
|
||||
{
|
||||
// Create a new action object
|
||||
if (elem.id) {
|
||||
var obj = objectCntr.addObject(elem.id, new nextmatchRowAOI(elem));
|
||||
var obj = objectCntr.addObject(elem.id, new nextmatchRowAOI(elem, '.
|
||||
($GLOBALS['egw_info']['user']['preferences']['common']['select_mode']?$GLOBALS['egw_info']['user']['preferences']['common']['select_mode']:'EGW_SELECTMODE_DEFAULT').'));
|
||||
|
||||
obj.updateActionLinks(actionLinks);
|
||||
}
|
||||
|
@ -171,6 +171,19 @@ class preferences_hooks
|
||||
'admin' => False,
|
||||
'forced' => '1',
|
||||
),
|
||||
'select_mode' => array(
|
||||
'type' => 'select',
|
||||
'label' => 'Select additional lines in lists by',
|
||||
'name' => 'select_mode',
|
||||
'values' => array(
|
||||
'EGW_SELECTMODE_DEFAULT' => 'holding Ctrl/Cmd key and click on the line',
|
||||
'EGW_SELECTMODE_TOGGLE' => 'just clicking on the line, like a checkbox',
|
||||
),
|
||||
'help' => 'If a line is already selected, further lines get either selected by holding Ctrl/Cmd key and clicking on them (to not unselect the current selected line), or by just clicking on them as for a checkbox. If no line is selected clicking on one allways selects it. Holding down Shift key selects everything between current select line and the one clicked.',
|
||||
'xmlrpc' => True,
|
||||
'admin' => False,
|
||||
'default' => 'EGW_SELECTMODE_DEFAULT',
|
||||
),
|
||||
'tz' => array(
|
||||
'type' => 'select',
|
||||
'label' => 'Time zone',
|
||||
|
Loading…
Reference in New Issue
Block a user