# HG changeset patch # User Nicholas Jillings # Date 1493973306 -3600 # Node ID 058f270e6d4d751b94ad89b24beae5a55a16431b # Parent 98610ac9089307f5229b709791ffbf164a0fe5bf Last Commit diff -r 98610ac90893 -r 058f270e6d4d interfaces/ape.js --- a/interfaces/ape.js Fri May 05 09:31:06 2017 +0100 +++ b/interfaces/ape.js Fri May 05 09:35:06 2017 +0100 @@ -655,7 +655,9 @@ var obj = []; $(this.trackSliderObjects).each(function (i, trackObj) { var node = storage.document.createElement('value'); - node.setAttribute("interface-name", trackObj.getAttribute("interface-name")); + if (trackObj.getAttribute("interface-name") !== "null") { + node.setAttribute("interface-name", trackObj.getAttribute("interface-name")); + } node.textContent = convSliderPosToRate(trackObj); obj.push(node); });