function update_incident_cause_for_event(e, event, history) {
    $("select#incident_cause option:selected").each(function () {
        event.incident_cause = $.trim($(this).val());
    });
}