oSoc15 / educal

Calendar app for schools
MIT License
5 stars 1 forks source link

Load root calendars from html #77

Closed Bertware closed 9 years ago

Bertware commented 9 years ago

Root calendars are loaded using HTTP since #76

When the page is loaded

Todo: Load from embedded javascript arrays.

Suggested fix: Add keys to the root array containing calendar id's (CalendarViewController). Set root variable in calendar.index.php to an array of all roots instead of a single object. Add calendar id's to the checkboxes. Compile array of objects to load into fullcalendar, pass to fullcalendar

Bertware commented 9 years ago

fullcalendar will glitch when toggling from the sidebar (loading from url) after it's been loaded from embedded javascript objects. Not possible for now.