Skip to content

Commit

Permalink
Exposet gristFormSubmit.setUpGravityForms() function
Browse files Browse the repository at this point in the history
  • Loading branch information
dsagal committed Oct 3, 2023
1 parent c48e33b commit cb284a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grist-form-submit.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ function setUpGravityForms(options) {
// Use capture to get the event before GravityForms processes it.
document.addEventListener('submit', ev => handleSubmitGravityForm(ev, options), true);
}
gristFormSubmit.setUpGravityForms = setUpGravityForms;

async function handleSubmitGravityForm(ev, options) {
try {
Expand Down

0 comments on commit cb284a9

Please sign in to comment.