# HG changeset patch # User Nicholas Jillings # Date 1449849299 0 # Node ID 9ed3abe54604e84889c9187e2ae0480c5bd92422 # Parent c8f99418b34b4dc672f9d6ea8622ae3dc47d95d0 APE Metric tag holds all axis information. diff -r c8f99418b34b -r 9ed3abe54604 ape.js --- a/ape.js Fri Dec 11 11:42:28 2015 +0000 +++ b/ape.js Fri Dec 11 15:54:59 2015 +0000 @@ -566,7 +566,7 @@ var obj = []; $(this.trackSliderObjects).each(function(i,trackObj){ var node = document.createElement('value'); - node.setAttribute("name",trackObj.getAttribute("interface-name")); + node.setAttribute("inteerface-name",trackObj.getAttribute("interface-name")); node.textContent = convSliderPosToRate(trackObj); obj.push(node); }); @@ -679,12 +679,27 @@ // Have to append the metric specific nodes if (testXML.outsideReference == null || testXML.outsideReference.id != audioelements[i].id) { + var inject = audioelements[i].getElementsByTagName("metric"); + if (inject.length == 0) + { + inject = document.createElement("metric"); + } else { + inject = inject[0]; + } for (var k=0; k