You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The easier solution I guess would be to just fix the oneliner (maybe convert it to a function which just gets called), since submit_form() is also used by projectinfo.inc.
The text was updated successfully, but these errors were encountered:
Event form submission is supposed to be done by submit_event, see the buttons at the bottom of the form. I believe the call to submit_form is a left over from previous times.
Observed in latest commit of main branch (6966640) as well as prod.
Steps to reproduce:
Expected behavior: Event gets submitted to the server.
Actual behavior: Nothing happens visible to the user but an error is logged in the console.
The problem is that the oneliner in the
onKeyPress
attribute in the event form selects the form but then submits that object to thesubmit_form()
function which tries to select the form again, because thissubmit_form()
function actually expects a 'form type' and a 'form id' argument.The easier solution I guess would be to just fix the oneliner (maybe convert it to a function which just gets called), since
submit_form()
is also used by projectinfo.inc.The text was updated successfully, but these errors were encountered: