fix onsubmit_callback array for tl_calendar_events.