mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Make selectbox remember what resources cat was selected
This commit is contained in:
parent
295d7844e5
commit
3e0ec3a586
@ -500,7 +500,7 @@ class ui_resources
|
||||
// so it is possible to select all resources of a category
|
||||
foreach($cats as $cat_id => $cat_name)
|
||||
{
|
||||
if (($resources = $this->bo->so->search(array('cat_id' => $cat_id, 'bookable' => '1'),'res_id')))
|
||||
if ($resources = $this->bo->so->search(array('cat_id' => $cat_id, 'bookable' => '1'),'res_id'))
|
||||
{
|
||||
foreach($resources as $res)
|
||||
{
|
||||
@ -513,7 +513,7 @@ class ui_resources
|
||||
if($date != '') $link_array['date'] = $date;
|
||||
$selectbox = $this->html->select(
|
||||
'owner',
|
||||
'uical_select_resource',
|
||||
$_GET['owner'],
|
||||
$selectbox_content,
|
||||
$no_lang=true,
|
||||
$options='style="width: 165px;" onchange="load_cal(\''.
|
||||
|
Loading…
Reference in New Issue
Block a user