mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Check for null config properties in editor before overwritting them
This commit is contained in:
parent
3008e4e60f
commit
23087447f1
@ -944,7 +944,7 @@ RED.editor = (function() {
|
|||||||
} else {
|
} else {
|
||||||
newValue = input.val();
|
newValue = input.val();
|
||||||
}
|
}
|
||||||
if (newValue !== editing_config_node[d]) {
|
if (newValue != null && newValue !== editing_config_node[d]) {
|
||||||
if (editing_config_node._def.defaults[d].type) {
|
if (editing_config_node._def.defaults[d].type) {
|
||||||
if (newValue == "_ADD_") {
|
if (newValue == "_ADD_") {
|
||||||
newValue = "";
|
newValue = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user