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 {
|
||||
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 (newValue == "_ADD_") {
|
||||
newValue = "";
|
||||
|
Loading…
Reference in New Issue
Block a user