This commit is contained in:
newtbot
2024-01-21 04:28:16 +08:00
parent 8adf304f1a
commit dfb9a524b4
2 changed files with 2 additions and 2 deletions

View File

@ -256,7 +256,7 @@ app.auth = (function (app) {
};
})(app);
//ajax form submit
//ajax form submit and pass to api
function formAJAX(btn, del) {
event.preventDefault(); // avoid to execute the actual submit of the form.
var $form = $(btn).closest("[action]"); // gets the 'form' parent