mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Calendar - if editing event without popup, cancel loads normal calendar UI instead of doing nothing.
This commit is contained in:
parent
f600436898
commit
2d9c6c3ae9
@ -1845,7 +1845,8 @@ class calendar_uiforms extends calendar_ui
|
||||
}
|
||||
if ($preserved['no_popup'])
|
||||
{
|
||||
$etpl->set_cell_attribute('button[cancel]','onclick','');
|
||||
// If not a popup, load the normal calendar interface on cancel
|
||||
$etpl->set_cell_attribute('button[cancel]','onclick','app.calendar.linkHandler(\'index.php?menuaction=calendar.calendar_uiviews.index\')');
|
||||
}
|
||||
|
||||
// Allow admins to restore deleted events
|
||||
|
Loading…
Reference in New Issue
Block a user