mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-20 21:08:54 +01:00
Fix missing 'add' refresh call
This commit is contained in:
parent
84da22b93d
commit
d547416956
@ -231,7 +231,7 @@ class calendar_uiforms extends calendar_ui
|
|||||||
// affect more than just one event widget, so require a full refresh.
|
// affect more than just one event widget, so require a full refresh.
|
||||||
// $update_type is one of the update types
|
// $update_type is one of the update types
|
||||||
// (add, edit, update, delete)
|
// (add, edit, update, delete)
|
||||||
$update_type = $event['recur_type'] == MCAL_RECUR_NONE ? 'update' : 'edit';
|
$update_type = $content['id'] ? ($content['recur_type'] == MCAL_RECUR_NONE ? 'update' : 'edit') : 'add';
|
||||||
|
|
||||||
list($button) = @each($content['button']);
|
list($button) = @each($content['button']);
|
||||||
if (!$button && $content['action']) $button = $content['action']; // action selectbox
|
if (!$button && $content['action']) $button = $content['action']; // action selectbox
|
||||||
|
Loading…
Reference in New Issue
Block a user