UnconditionedLife / smum

SMUM Checkin for Santa Maria Urban Ministries (San Jose, California)
https://www.santamariasj.org
3 stars 0 forks source link

Feature: Create output from FullCalendar for saving to DB. #57

Closed UnconditionedLife closed 6 years ago

UnconditionedLife commented 6 years ago

1) Assign the hidden form fields the calendar instruction based on user input. 2) Load calendar with setting values. On login, the settings are pulled from the db and assigned to the settings global variable in the dbGetAppSettings() function.

I have moved the code out of the HTML template file and into the app.js file. 'closedEvent' is a global variable at top of the code 'uiInitFullCalendar()' is now called when admin section is open 'utilAddClosedEvent' is now a utility function 'utilSelectDays' is now a utility function

The popup for the selection of the days is in the template file. It's currently showing by default for development only. A click on the radio button or TD calls the utilSelectDay() function which is not functioning.

For popup function need date, name of the day, week count