mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Only check for reordered outputs if outputMap defiend
This commit is contained in:
parent
2a3e355437
commit
6278dfa77e
@ -940,7 +940,7 @@ RED.editor = (function() {
|
||||
newValue = new Array(editing_node.outputs);
|
||||
outputLabels.each(function() {
|
||||
var index = $(this).attr('id').substring(23); // node-label-form-output-<index>
|
||||
if (outputMap.hasOwnProperty(index)) {
|
||||
if (outputMap && outputMap.hasOwnProperty(index)) {
|
||||
index = parseInt(outputMap[index]);
|
||||
if (index === -1) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user