update calendar selector to work with the latest octobercms versions

This commit is contained in:
2022-12-13 00:11:05 +01:00
parent d84f5d6803
commit d08de624ea
3 changed files with 325 additions and 160 deletions

View File

@@ -27,7 +27,7 @@
<?php foreach ($calendars as $key=>$calendar): ?>
<tr>
<td class="list-checkbox nolink">
<div class="checkbox custom-checkbox nolabel">
<div class="checkbox nolabel">
<input id="checkbox_<?= $key ?>"
type="checkbox"
name="Settings[calendar_selector][<?= $key ?>][checked]"
@@ -69,4 +69,4 @@
$("#checkboxAll").click(function () {
$('input:checkbox').not(this).prop('checked', this.checked);
});
</script>
</script>