Added possibility to export the calendar in iCal format (closes #141)

This commit is contained in:
Bernd Bestel
2019-03-04 17:44:48 +01:00
parent 77b0bc675c
commit 90291fdbca
14 changed files with 336 additions and 71 deletions

View File

@@ -9,3 +9,19 @@
"eventLimit": true,
"eventSources": fullcalendarEventSources
});
$("#ical-button").on("click", function(e)
{
e.preventDefault();
Grocy.Api.Get('calendar/ical/sharing-link',
function(result)
{
location.href = result.url;
},
function(xhr)
{
console.error(xhr);
}
);
});