Calendar - fix a few more missed ajax=true that were causing problems loading

This commit is contained in:
nathangray 2017-10-05 11:20:21 -06:00
parent 02a93ddd30
commit 8eca71d461
2 changed files with 3 additions and 1 deletions

View File

@ -1070,6 +1070,7 @@ class calendar_uiforms extends calendar_ui
Egw::redirect_link('/index.php',array(
'menuaction' => 'calendar.calendar_uiviews.index',
'msg' => $msg,
'ajax' => 'true'
));
}
if (in_array($button,array('delete_exceptions','delete_keep_exceptions')) || $content['recur_type'] && $button == 'delete')
@ -1847,7 +1848,7 @@ class calendar_uiforms extends calendar_ui
if ($preserved['no_popup'])
{
// 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\')');
$etpl->set_cell_attribute('button[cancel]','onclick','app.calendar.linkHandler(\'index.php?menuaction=calendar.calendar_uiviews.index&ajax=true\')');
}
// Allow admins to restore deleted events

View File

@ -454,6 +454,7 @@ class calendar_uiviews extends calendar_ui
Egw::redirect_link('/index.php',array(
'menuaction' => 'calendar.calendar_uiviews.index',
'msg' => $merge,
'ajax' => 'true'
));
}