changeset 3003:15f266931a2d

Fix for #215
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Thu, 03 Aug 2017 14:44:26 +0200
parents b91945fc6fea
children cf4bf84c3e7b
files interfaces/mushra.js
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/interfaces/mushra.js	Thu Aug 03 14:30:31 2017 +0200
+++ b/interfaces/mushra.js	Thu Aug 03 14:44:26 2017 +0200
@@ -343,6 +343,10 @@
         // Called by the audioObject holding this element. Must be present
         var node = storage.document.createElement('value');
         node.textContent = this.slider.value;
+        var iname = testState.getCurrentTestPage().interfaces[0].name;
+        if (typeof iname == "string") {
+            node.setAttribute("interface-name", iname);
+        }
         return node;
     };
     this.startPlayback = function () {