We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e48c00a commit a63a2cfCopy full SHA for a63a2cf
packet/static/js/signing.js
@@ -3,7 +3,6 @@ $(document).ready(function () {
3
$('.sign-button').click(function () {
4
var packetData = $(this).get(0).dataset;
5
var userData = $("#userInfo").val();
6
- console.log(userData);
7
swal({
8
title: "Are you sure?",
9
text: "Once a packet is signed it can only be unsigned from request to the Evals Director",
@@ -19,10 +18,12 @@ $(document).ready(function () {
19
18
success: function (data) {
20
swal("Congratulations or I'm Sorry\nYou've signed " + packetData.freshman_name + "'s packet", {
21
icon: "success",
22
- });
+ })
+ .then(() => {
23
+ location.reload();
24
+ });
25
}
26
});
- location.reload();
27
28
29
0 commit comments