Commit 8fdfe11e authored by lic's avatar lic Committed by Sandro Lutz
Browse files

Prevent reload on submit

parent 95e1d082
......@@ -74,7 +74,7 @@ class EventSignupForm extends JSONSchemaForm {
const elements = this.renderFormElements();
elements.push(this._renderEmailField());
elements.push(this._renderSignupButton());
return m('form', elements);
return m('form', { onsubmit: () => false }, elements);
}
return m('div', [
m('span', `${i18n('events.amiv_members_only')} `),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment