diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index 09d9251c3c..b9d28f4093 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -1448,6 +1448,10 @@ class calendar_uiforms extends calendar_ui $this->edit(); } + /** + * Get conflict dialog via ajax. Used by quick add. + * + */ public function ajax_conflicts() { $participants = json_decode($_GET['participants'],true); @@ -1470,7 +1474,7 @@ class calendar_uiforms extends calendar_ui ); } $content['participants'] = $participants; - $content['button'] = array('apply' => true); + $content['button'] = array('save' => true); return $this->process_edit($content); }