The reviewProposal.html could not access the variables and functions in the JS file because the JS was a module
Functions and variables were locally scoped to the module
The JavaScript file included a few lines of code that manually set some functions to the window object to make them globally accessible
Change
I defined an allExports object to localize all the functions for easier addition/removal
A for loop is used to attach all functions on the window object
Due to missing changes after pulling from the wrong branch, we need to create a new branch to restore the lost changes. This issue specifically involves fixing the "Approve" button in the course review section.
Issue Ticket Number: 1244 Issue Link