Skip to content

Commit c2c74a0

Browse files
committed
Fix event form issue
1 parent 2574d88 commit c2c74a0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/view/form/eventForm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
onReady.form.event = function () {
1+
eventForm = function () {
22
$("input[name='start_date']").datepicker({
33
changeMonth: true,
44
changeYear: true,

src/view/form/event_form.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script>$(onReady.form.event)</script>
1+
<script>$(eventForm)</script>
22
<form method="POST" action="events/" class="o-layout">
33
<h2 class="c-form__title o-layout__item"> Event</h2>
44
<input type="hidden" name="id" class="tss-form-data-fill" />

0 commit comments

Comments
 (0)