Calendar et2 conversion work in progress.

- Update after edit
This commit is contained in:
Nathan Gray 2015-06-30 23:34:38 +00:00
parent 925c29ce9d
commit 3d6e1573bb
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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},