1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

fix: node save broken

- Revert last minute code tidy that changed too many `this` to `node`
This commit is contained in:
Steve-Mcl 2022-03-12 16:10:36 +00:00
parent e57774e121
commit c5de18caae

View File

@ -411,7 +411,7 @@
const node = this;
node.headers = [];
headers.each(function(i) {
const header = $(node);
const header = $(this);
const keyType = header.find(".node-input-header-name").typedInput('type');
const keyValue = header.find(".node-input-header-name").typedInput('value');
const valueType = header.find(".node-input-header-value").typedInput('type');