# HG changeset patch # User Nicholas Jillings # Date 1449849299 0 # Node ID edc5b3cc7b5dace5ee72b6aaea0557df9a36062e # Parent 5a4425dbb77ecb4a129db780b3bba67fc02669ba APE Metric tag holds all axis information. diff -r 5a4425dbb77e -r edc5b3cc7b5d 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