# HG changeset patch # User Nicholas Jillings # Date 1499264445 -3600 # Node ID 2eec0c37b4cb7d70265853032c774204694dffab # Parent 22d1f6d9f0bf4831b7b3643683ec5354f7b9dff5 Minor error with test_create and global settings not being correctly handled. diff -r 22d1f6d9f0bf -r 2eec0c37b4cb js/specification.js --- a/js/specification.js Wed Jul 05 12:08:52 2017 +0100 +++ b/js/specification.js Wed Jul 05 15:20:45 2017 +0100 @@ -188,7 +188,7 @@ var attributes = schemaSetup.querySelectorAll('attribute'); for (var i = 0; i < attributes.length; i++) { var name = attributes[i].getAttribute("name"); - if (name === undefined) { + if (name === null) { name = attributes[i].getAttribute("ref"); } if (this[name] !== undefined || attributes[i].getAttribute("use") == "required") {