Skip to content

Commit

Permalink
Fixing rules
Browse files Browse the repository at this point in the history
  • Loading branch information
jalagari committed Aug 22, 2024
1 parent 552b71b commit f8aa4b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/form/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function applyInvokeServiceWorkaround(global) {
const { myForm } = window;
const submitButton = myForm.getElement('button-f6155bcdf9');
// eslint-disable-next-line no-underscore-dangle
submitButton._jsonModel.events.click[0] = 'request(externalize(\'/content/NFL/index/jcr:content/root/section/form.af.dermis\'),\'POST\',{ "operationName":\'POST NFLPerson\', "input":toString({xdmEntity: {_formsinternal01: {winningTeam: $form.panelcontainer1724059998351.panelcontainer1724060010408.panelcontainer_8924168121724239056896.winningTeam.$value,favoriteTeam: $form.panelcontainer1724059998351.panelcontainer_1441474551724069378434.teamSelection.favTeam.$value},person: {personalEmail: {address: email.$value}, name: {firstName: firstName.$value,lastName: lastName.$value}},personID: email.$value}}),"functionToExecute":\'invokeFDMOperation\',"apiVersion":\'2\',"formDataModelId":\'/content/dam/formsanddocuments-fdm/aep-connector\',"runValidation":\'false\',"guideNodePath":\'/content/NFL/index/jcr:content/root/section/form/panelcontainer/panelcontainer_957069440/panelcontainer_1445695439/button\'}, {"Content-Type" : \'application/x-www-form-urlencoded\'}, \'custom:wsdlSuccess_1724268855999\',\'custom:wsdlError_1724268855999\')';
submitButton._jsonModel.events.click[3] = 'request(externalize(\'/content/NFL/index/jcr:content/root/section/form.af.dermis\'),\'POST\',{ "operationName":\'POST NFLPerson\', "input":toString({xdmEntity: {_formsinternal01: {winningTeam: $form.panelcontainer1724059998351.panelcontainer1724060010408.panelcontainer_8924168121724239056896.winningTeam.$value,favoriteTeam: $form.panelcontainer1724059998351.panelcontainer_1441474551724069378434.teamSelection.favTeam.$value},person: {personalEmail: {address: email.$value}, name: {firstName: firstName.$value,lastName: lastName.$value}},personID: email.$value}}),"functionToExecute":\'invokeFDMOperation\',"apiVersion":\'2\',"formDataModelId":\'/content/dam/formsanddocuments-fdm/aep-connector\',"runValidation":\'false\',"guideNodePath":\'/content/NFL/index/jcr:content/root/section/form/panelcontainer/panelcontainer_957069440/panelcontainer_1445695439/button\'}, {"Content-Type" : \'application/x-www-form-urlencoded\'}, \'custom:wsdlSuccess_1724268855999\',\'custom:wsdlError_1724268855999\')';
}
}

Expand Down

0 comments on commit f8aa4b6

Please sign in to comment.