diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index 919fbff138..34a3e96d6a 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -907,6 +907,15 @@ class calendar_uiforms extends calendar_ui $message .= lang(', stati of participants reset'); } + $response = egw_json_response::get(); + if($response) + { + // Directly update stored data. If event is still visible, it will + // be notified & update itself. + $this->to_client($event); + $response->call('egw.dataStoreUID','calendar::'.$event['id'],$event); + } + $msg = $message . ($msg ? ', ' . $msg : ''); egw_framework::refresh_opener($msg, 'calendar', $event['id']); // writing links for new entry, existing ones are handled by the widget itself diff --git a/calendar/js/et2_widget_event.js b/calendar/js/et2_widget_event.js index 0b9066c157..61112858ab 100644 --- a/calendar/js/et2_widget_event.js +++ b/calendar/js/et2_widget_event.js @@ -488,7 +488,7 @@ et2_calendar_event.recur_prompt = function(event_data, callback) } }; } - if(event_data.recur_type) + if(parseInt(event_data.recur_type)) { var buttons = [ {text: egw.lang("Edit exception"), id: "exception", class: "ui-priority-primary", "default": true},