Something went wrong. Try again.
Code Review Workflow for IT Programming at BCTC West
Something went wrong. Try again.
123456789101112131415161718192021222324'use strict';
/* This file is used in the user list page for user cleanup */
function cleanupSubmitClick() { /** * This function will run when the submit button in the user cleanup modal is pressed. * It shows the spinner in the button and submits the form. */
$("#cleanupSpinner").toggleClass("d-none", false); $("#cleanupSubmitText").toggleClass("d-none", true); $("#cleanupForm").submit();}
$(document).ready(function () { /** * This function will run when the document has loaded * It sets up the cleanupSubmit button's click callback. */
$("#cleanupSubmitButton").click(cleanupSubmitClick);});