This commit is contained in:
Evgeny
2021-08-31 13:32:02 +03:00
parent 6516a81f1f
commit 28d837af04
3 changed files with 3 additions and 3 deletions

View File

@@ -133,7 +133,7 @@ If `id` was specified in the request, then the function will call `on_network_re
* `calendar:get_events([start_date], [end_date], [cal_table])` - returns table of event tables of all calendars, start\_date - event start date, end\_date - event end date, cal\_table - calendar ID table;
* `calendar:get_calendars()` - returns table of calendars tables;
* `calendar:open_event_dialog(id)` - opens an event in the system calendar.
* `calendar:show_event_dialog(id)` - opens an event in the system calendar.
Event table format:

View File

@@ -133,7 +133,7 @@ ui:prepare_context_menu({
* `calendar:get_events([start_date], [end_date], [cal_table])` - возвращает таблицу табдлиц событий всех календарей, start\_date - дата начала событий, end\_date - дата окончания событий, cal\_table - таблица идентификаторов календарей;
* `calendar:get_calendars()` - возвращет таблицу таблиц календарей;
* `calendar:open_event_dialog(id)` - открывает событие в системном календаре.
* `calendar:show_event_dialog(id)` - открывает событие в системном календаре.
Формат таблицы события:

View File

@@ -13,5 +13,5 @@ function on_resume()
end
function on_click(idx)
calendar:open_event_dialog(events[idx].id)
calendar:show_event_dialog(events[idx].id)
end