We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2574d88 commit c2c74a0Copy full SHA for c2c74a0
2 files changed
src/view/form/eventForm.js
@@ -1,4 +1,4 @@
1
-onReady.form.event = function () {
+eventForm = function () {
2
$("input[name='start_date']").datepicker({
3
changeMonth: true,
4
changeYear: true,
src/view/form/event_form.xml
-<script>$(onReady.form.event)</script>
+<script>$(eventForm)</script>
<form method="POST" action="events/" class="o-layout">
<h2 class="c-form__title o-layout__item"> Event</h2>
<input type="hidden" name="id" class="tss-form-data-fill" />
0 commit comments