Skip to content

Commit b7f1265

Browse files
fix: Always clear popupWindowState before showing popup from form trigger (n8n-io#13363)
1 parent 755734d commit b7f1265

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/editor-ui/src/utils/executionUtils.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,10 @@ export function displayForm({
130130
if (node.name === destinationNode || !node.disabled) {
131131
let testUrl = '';
132132
if (node.type === FORM_TRIGGER_NODE_TYPE) testUrl = getTestUrl(node);
133-
if (testUrl && source !== 'RunData.ManualChatMessage') openFormPopupWindow(testUrl);
133+
if (testUrl && source !== 'RunData.ManualChatMessage') {
134+
clearPopupWindowState();
135+
openFormPopupWindow(testUrl);
136+
}
134137
}
135138
}
136139
}

0 commit comments

Comments
 (0)