fixes
This commit is contained in:
@@ -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_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: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:
|
Event table format:
|
||||||
|
|
||||||
|
|||||||
@@ -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_events([start_date], [end_date], [cal_table])` - возвращает таблицу табдлиц событий всех календарей, start\_date - дата начала событий, end\_date - дата окончания событий, cal\_table - таблица идентификаторов календарей;
|
||||||
* `calendar:get_calendars()` - возвращет таблицу таблиц календарей;
|
* `calendar:get_calendars()` - возвращет таблицу таблиц календарей;
|
||||||
* `calendar:open_event_dialog(id)` - открывает событие в системном календаре.
|
* `calendar:show_event_dialog(id)` - открывает событие в системном календаре.
|
||||||
|
|
||||||
Формат таблицы события:
|
Формат таблицы события:
|
||||||
|
|
||||||
|
|||||||
@@ -13,5 +13,5 @@ function on_resume()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function on_click(idx)
|
function on_click(idx)
|
||||||
calendar:open_event_dialog(events[idx].id)
|
calendar:show_event_dialog(events[idx].id)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user