fix(n8n Form Trigger Node): Remove relience on getWorkflowStaticData for passing query parameters (#14728)

This commit is contained in:
Michael Kret
2025-04-18 10:37:46 +03:00
committed by GitHub
parent b615e51f13
commit 3feab31792
4 changed files with 34 additions and 11 deletions

View File

@@ -852,11 +852,14 @@
document.querySelector('#submit-btn').style.cursor = 'not-allowed';
document.querySelector('#submit-btn span').style.display = 'inline-block';
let postUrl = '';
if (window.location.href.includes('form-waiting')) {
intervalId = setTimeout(checkExecutionStatus, interval);
} else {
postUrl = window.location.search;
}
fetch('', {
fetch(postUrl, {
method: 'POST',
body: formData,
})