diff --git a/public/red/ui/editor.js b/public/red/ui/editor.js index 70a77622e..c5f7986e3 100644 --- a/public/red/ui/editor.js +++ b/public/red/ui/editor.js @@ -48,8 +48,10 @@ RED.editor = (function() { function validateNodeProperties(node, definition, properties) { var isValid = true; for (var prop in definition) { - if (!validateNodeProperty(node, definition, prop, properties[prop])) { - isValid = false; + if (definition.hasOwnProperty(prop)) { + if (!validateNodeProperty(node, definition, prop, properties[prop])) { + isValid = false; + } } } return isValid;