changing event listeners to body with the original selector as a filter — this way they still work after the form’s been replaced
removing unused JS class
handling the file attachments based on presence of image or reportcard
removing debugging code
I believe these few listeners are deprecated
adding comment for what this mklMarkDeleted function is for
formatting
removing commented functions
removing old comment
comments and referencing the current page’s modal, not by initally-populated variable on page load, as that gets replaced
moved this line, but forgot to add the deletion of it
hopefully avoiding cache by using POST instead of GET for AJAX request
less efficient than storing as a variable, but seems to be working better than cloning the modal form and using a variable to reference
don’t need this extra var around
revert form *after* it’s hidden
fixing textarea vs input values for editing