mirror of
https://github.com/aaronleetw/Attendance.git
synced 2024-11-15 03:21:38 -08:00
10 lines
238 B
JavaScript
Vendored
10 lines
238 B
JavaScript
Vendored
function loadingAnimation() {
|
|
// if csv is empty
|
|
if ($("#csv").val() == "") {
|
|
alert("Please select a file!");
|
|
return;
|
|
}
|
|
$('#uploadCsvForm').submit();
|
|
$('.container').hide();
|
|
$('#loading').show();
|
|
}
|