mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
function node was marking changed even on no change.
This commit is contained in:
parent
913fdac671
commit
07fd5a5f5f
@ -168,8 +168,6 @@ RED.editor = (function() {
|
|||||||
return removedLinks;
|
return removedLinks;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$( "#dialog" ).dialog({
|
$( "#dialog" ).dialog({
|
||||||
modal: true,
|
modal: true,
|
||||||
autoOpen: false,
|
autoOpen: false,
|
||||||
@ -219,8 +217,6 @@ RED.editor = (function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (editing_node._def.defaults) {
|
if (editing_node._def.defaults) {
|
||||||
@ -250,10 +246,9 @@ RED.editor = (function() {
|
|||||||
configNode.users.push(editing_node);
|
configNode.users.push(editing_node);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
changes[d] = editing_node[d];
|
changes[d] = editing_node[d];
|
||||||
editing_node[d] = newValue;
|
editing_node[d] = newValue;
|
||||||
changed = true;
|
if (d !== 'valid') { changed = true; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -266,7 +261,6 @@ RED.editor = (function() {
|
|||||||
changed = changed || credsChanged;
|
changed = changed || credsChanged;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
var removedLinks = updateNodeProperties(editing_node);
|
var removedLinks = updateNodeProperties(editing_node);
|
||||||
if (changed) {
|
if (changed) {
|
||||||
var wasChanged = editing_node.changed;
|
var wasChanged = editing_node.changed;
|
||||||
|
Loading…
Reference in New Issue
Block a user