Playing around to come up with an idea to increase performance on the holiday page. The idea is that we will maintain a javascript datastructure for holding the table values instead of querying the DOM. This is using the idea that the slowness comes from repeated queries to the DOM.
The datastructure is now sent to the browser.
Submitting a row now uses the datastructure we created server-side. Performance is slightly increased.
Further work on fixing the performance of the page. It's working out swimmingly, except when it's not. It's highly buggy at the moment and should not be merged.
Change the table when the ajax call completes, not on a timeout.
Fix off-by-one error which caused the holidays to hilariously shift by one every submit.
Removed debug print statement.
Trailing comma changes for IE.
Changed function signature since we use two different methods for Submit All and Submit buttons now.
Removed debugging statement.
Since we don't use mass on the single submit button, we don't need to check if it's true.
Bugfix again for walking entries.
Documentation.
Remove flushThis call.
Removed checkTeamLeader check since we remove that element server-side now.
Changed docstring to signify change.
Removed superfluous variable.
Don't return unused variable.
Re-worked the changeTableData function for better performance and more readability.
Removed debug statement.