Fix not detecting empty package count

master
Skylar Ittner 2 years ago
parent 10a8b3f23f
commit 2211f74671

@ -6,7 +6,7 @@
function requestPickup() { function requestPickup() {
if (isNaN($("#pickupRequestForm #packagecount").val())) { if (isNaN($("#pickupRequestForm #packagecount").val()) || $("#pickupRequestForm #packagecount").val() == "") {
app.dialog.alert("Tell us how many packages you're sending so we'll know if we miss any.", "Whoops!"); app.dialog.alert("Tell us how many packages you're sending so we'll know if we miss any.", "Whoops!");
return; return;
} }

Loading…
Cancel
Save