# HG changeset patch # User Nicholas Jillings # Date 1449849299 0 # Node ID 32cf73391f31f55540238994db02158b59c5a486 # Parent 76638abe141489a1f1768854bbe9cf5f60b9748d APE Metric tag holds all axis information. diff -r 76638abe1414 -r 32cf73391f31 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