mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
Fix not refreshing the calendar list when we save, apply or delete an entry
This commit is contained in:
parent
1fe139c822
commit
c1bd68281c
@ -852,7 +852,7 @@ class calendar_uiforms extends calendar_ui
|
|||||||
}
|
}
|
||||||
|
|
||||||
$msg = $message . ($msg ? ', ' . $msg : '');
|
$msg = $message . ($msg ? ', ' . $msg : '');
|
||||||
|
egw_framework::refresh_opener($msg, 'calendar');
|
||||||
// writing links for new entry, existing ones are handled by the widget itself
|
// writing links for new entry, existing ones are handled by the widget itself
|
||||||
if (!$content['id'] && is_array($content['link_to']['to_id']))
|
if (!$content['id'] && is_array($content['link_to']['to_id']))
|
||||||
{
|
{
|
||||||
@ -958,7 +958,7 @@ class calendar_uiforms extends calendar_ui
|
|||||||
'msg' => $msg,
|
'msg' => $msg,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
egw_framework::refresh_opener($msg, 'calendar', $content['id'], $button['save']?'update': 'delete');
|
||||||
egw_framework::window_close();
|
egw_framework::window_close();
|
||||||
common::egw_exit();
|
common::egw_exit();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user