mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
adding a "None" to resource selection in calendar, to allow to remove all resources from view
This commit is contained in:
parent
51b60c5df6
commit
7b0ba9fb95
@ -647,10 +647,10 @@ class resources_ui
|
||||
$selectbox = html::select(
|
||||
'owner',
|
||||
$selected,
|
||||
array_merge($resources,$res_cats),
|
||||
$no_lang=true,
|
||||
$options=' style="width: 100%;" id="uical_select_resource"',
|
||||
$multiple=4,
|
||||
$options=array_merge(array('r0' => lang('None')),$resources,$res_cats),
|
||||
true, // no lang
|
||||
' style="width: 100%;" id="uical_select_resource"',
|
||||
min(4, count($options)), // multiple
|
||||
false
|
||||
);
|
||||
return array(
|
||||
|
Loading…
Reference in New Issue
Block a user