mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
parent
b96087d089
commit
3d2c787062
11 changed files with 161 additions and 17 deletions
|
@ -214,6 +214,12 @@ $(document).on("click", ".approve", function (e) {
|
|||
var buttonId = e.target.id;
|
||||
var $form = $('#approve' + buttonId);
|
||||
|
||||
if ($('#' + buttonId).text === "Loading...") {
|
||||
return;
|
||||
}
|
||||
|
||||
loadingButton(buttonId, "success");
|
||||
|
||||
$.ajax({
|
||||
type: $form.prop('method'),
|
||||
url: $form.prop('action'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue