diff --git a/common/js/xml_js_filter.js b/common/js/xml_js_filter.js index 79ea3a57d..42af5f388 100644 --- a/common/js/xml_js_filter.js +++ b/common/js/xml_js_filter.js @@ -105,6 +105,7 @@ var Validator = xe.createApp('Validator', { el = elems[i]; name = el.name; + if(!name || !elems[name]) continue; if(!elems[name].length || elems[name][0] === el) fields.push(name); }; fields = fields.join('\n'); diff --git a/tests/common/js/index.html b/tests/common/js/index.html index c6f19f873..31d375efa 100644 --- a/tests/common/js/index.html +++ b/tests/common/js/index.html @@ -22,12 +22,15 @@
- - - - - - +
+ Legend + + + + + + +