Skip to content

Commit

Permalink
Update return.html
Browse files Browse the repository at this point in the history
  • Loading branch information
sondregronas authored Sep 19, 2023
1 parent b2e0f8e commit 526a259
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions BookingSystem/templates/forms/return.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,18 @@
$('#active tr').filter(function () {
return $(this).find('td').eq(0).text() === $('#id').val();
}).remove();
// Clear the input field
$('#id').val('');
},
error: function (result) {
iziToast.error({
title: 'Feil!',
message: result.responseText,
})
// Clear the input field
$('#id').val('');
}
});
// Clear the input field
$('#id').val('');
});
});
</script>
</script>

0 comments on commit 526a259

Please sign in to comment.