forked from extern/egroupware
- fixed acidently set owner by new events (multiple owners were reset to one, if you clicked inside a day-, week- or month-view)
- added an icon to easier identiy non-blocking events
This commit is contained in:
parent
2689dd7185
commit
80ff705199
@ -267,6 +267,12 @@ class uical
|
|||||||
}
|
}
|
||||||
$set_states['owner'] = implode(',',$owners);
|
$set_states['owner'] = implode(',',$owners);
|
||||||
}
|
}
|
||||||
|
// for the uiforms class (eg. edit), dont store the (new) owner, as it might change the view
|
||||||
|
if (substr($_GET['menuaction'],0,16) == 'calendar.uiforms')
|
||||||
|
{
|
||||||
|
$this->owner = $set_states[$state];
|
||||||
|
continue;
|
||||||
|
}
|
||||||
$states[$state] = $set_states[$state];
|
$states[$state] = $set_states[$state];
|
||||||
}
|
}
|
||||||
elseif (!is_array($states) || !isset($states[$state]))
|
elseif (!is_array($states) || !isset($states[$state]))
|
||||||
@ -372,6 +378,10 @@ class uical
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if($event['non_blocking'])
|
||||||
|
{
|
||||||
|
$icons[] = $this->html->image('calendar','nonblocking',lang('non blocking'));
|
||||||
|
}
|
||||||
if($event['public'] == 0)
|
if($event['public'] == 0)
|
||||||
{
|
{
|
||||||
$icons[] = $this->html->image('calendar','private',lang('private'));
|
$icons[] = $this->html->image('calendar','private',lang('private'));
|
||||||
|
Loading…
Reference in New Issue
Block a user