Subevent bulk creation: Allow to auto-generate time slots

This commit is contained in:
Raphael Michel
2021-01-20 17:13:15 +01:00
parent f3de5d5c96
commit 6ea4315beb
4 changed files with 96 additions and 2 deletions

View File

@@ -101,6 +101,7 @@ var form_handlers = function (el) {
locale: $("body").attr("data-datetimelocale"),
useCurrent: false,
showClear: !$(this).prop("required"),
viewMode: 'years',
icons: {
time: 'fa fa-clock-o',
date: 'fa fa-calendar',
@@ -563,6 +564,7 @@ $(function () {
}
);
$("[data-formset]").on("formAdded", "div", function (event) {
console.log("formAdded")
form_handlers($(event.target));
});
$(document).on("click", ".variations .variations-select-all", function (e) {