# HG changeset patch # User www-data # Date 1461151251 -3600 # Node ID 2bb73e3e4bbbf04d81207e42d2259c3db2b9d51b # Parent 16b74cc5528690eda92b36c45b4c626bc4c4d4b8# Parent 264a2f6e9b822118fa9f8561a35bb7cdd17b1a3e Merge branch 'master' of https://github.com/BrechtDeMan/WebAudioEvaluationTool diff -r 16b74cc55286 -r 2bb73e3e4bbb js/specification.js --- a/js/specification.js Tue Apr 19 18:21:03 2016 +0100 +++ b/js/specification.js Wed Apr 20 12:20:51 2016 +0100 @@ -292,11 +292,11 @@ this.location = xml.getAttribute('location'); if (this.location == 'before'){this.location = 'pre';} else if (this.location == 'after'){this.location = 'post';} - for (var i in xml.children) + var children = xml.getAllElementsByTagName('surveyentry'); + for (var i=0; i