diff --git a/api/js/etemplate/et2_core_widget.js b/api/js/etemplate/et2_core_widget.js index 148bd02cea..fc3c0623ff 100644 --- a/api/js/etemplate/et2_core_widget.js +++ b/api/js/etemplate/et2_core_widget.js @@ -700,7 +700,7 @@ var et2_widget = (function(){ "use strict"; return ClassWithAttributes.extend( var entry = modifications.getRoot().getEntry(_node.getAttribute("id")); } } - if(entry && entry.type) + if(entry && entry.type && typeof entry.type === 'string') { _nodeName = attributes["type"] = entry.type; }