Always send submissison message on current window
This commit is contained in:
parent
2fcce79c3a
commit
62fcfc8f19
|
@ -213,16 +213,16 @@ export default {
|
|||
},
|
||||
submission_data: form.data()
|
||||
}, '*')
|
||||
} else {
|
||||
window.postMessage({
|
||||
type: 'form-submitted',
|
||||
form: {
|
||||
slug: this.form.slug,
|
||||
id: this.form.id
|
||||
},
|
||||
submission_data: form.data()
|
||||
}, '*')
|
||||
}
|
||||
window.postMessage({
|
||||
type: 'form-submitted',
|
||||
form: {
|
||||
slug: this.form.slug,
|
||||
id: this.form.id
|
||||
},
|
||||
submission_data: form.data()
|
||||
}, '*')
|
||||
|
||||
|
||||
try {
|
||||
window.localStorage.removeItem(this.formPendingSubmissionKey)
|
||||
|
|
Loading…
Reference in New Issue