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()
|
submission_data: form.data()
|
||||||
}, '*')
|
}, '*')
|
||||||
} else {
|
}
|
||||||
window.postMessage({
|
window.postMessage({
|
||||||
type: 'form-submitted',
|
type: 'form-submitted',
|
||||||
form: {
|
form: {
|
||||||
|
@ -222,7 +222,7 @@ export default {
|
||||||
},
|
},
|
||||||
submission_data: form.data()
|
submission_data: form.data()
|
||||||
}, '*')
|
}, '*')
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
window.localStorage.removeItem(this.formPendingSubmissionKey)
|
window.localStorage.removeItem(this.formPendingSubmissionKey)
|
||||||
|
|
Loading…
Reference in New Issue