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