Skip to content

Commit 5c3d8f5

Browse files
committed
fix
1 parent 9c7effc commit 5c3d8f5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/components/forms/events/view/videoroom-form.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</div>
1515
</div>
1616
<br>
17-
<form class="ui form {{if this.isLoading 'loading'}}" {{action 'submit' on='submit'}}>
17+
<form class="ui form {{if this.isLoading 'loading'}}">
1818
<div class="field">
1919
<label class="required">{{t 'Name'}}</label>
2020
<Input

app/components/forms/events/view/videoroom-form.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ export default class VideoroomForm extends Component.extend(FormMixin) {
9191
}
9292

9393
@action
94-
submit() {
94+
submit(event) {
95+
event.preventDefault();
9596
this.onValid(async() => {
9697
try {
9798
this.loading = true;

0 commit comments

Comments
 (0)