Update rrule.js to v2.7.2-14-g9f2061f (#5538) (Z#23210685)

* Update rrule.js to v2.7.2-14-g9f2061f

* Prevent negative count
This commit is contained in:
Raphael Michel
2025-10-10 15:18:54 +02:00
committed by GitHub
parent cd4759fb44
commit 05e71d8e57
2 changed files with 2557 additions and 2546 deletions

View File

@@ -79,7 +79,7 @@ $(document).on("pretix:bind-forms", function () {
var end = $form.find("input[name*=end]:checked").val();
if (end === "count") {
rule_args.count = parseInt($form.find("input[name*=count]").val()) || 1;
rule_args.count = Math.max(parseInt($form.find("input[name*=count]").val()) || 1, 1);
} else {
var date = $form.find("input[name*=until]").data("DateTimePicker").date();
if (date !== null) {

File diff suppressed because it is too large Load Diff