Skip to content

Commit

Permalink
Check for null config properties in editor before overwritting them
Browse files Browse the repository at this point in the history
  • Loading branch information
knolleary committed Jun 29, 2016
1 parent 3008e4e commit 2308744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/js/ui/editor.js
Expand Up @@ -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 = "";
Expand Down

0 comments on commit 2308744

Please sign in to comment.