From 42298f1e6c0d3a664e673d090ca7624e4242ef45 Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Thu, 4 Mar 2021 23:12:04 +0100 Subject: Only accept orders for 10+ seats. --- website/resources/js/order-license.js | 2 +- website/templates/order-license.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/website/resources/js/order-license.js b/website/resources/js/order-license.js index 21550f34..6745567d 100644 --- a/website/resources/js/order-license.js +++ b/website/resources/js/order-license.js @@ -110,7 +110,7 @@ formFail = true; } - if (!data.seats || isNaN(data.seats) || data.seats < 1) { + if (!data.seats || isNaN(data.seats) || data.seats < 10) { $("#seats").focus(); showError("seats"); formFail = true; diff --git a/website/templates/order-license.html b/website/templates/order-license.html index c3f52cef..127b2044 100644 --- a/website/templates/order-license.html +++ b/website/templates/order-license.html @@ -40,9 +40,9 @@
- + - +
-- cgit