changeset 2921:b08ccdb5cb8f

Fix for #215
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Thu, 03 Aug 2017 14:44:26 +0200
parents 81f17b7bfe82
children 7fa175a37aca 029b0ebc299a f57581f20068
files interfaces/mushra.js
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/interfaces/mushra.js	Wed Aug 02 07:42:33 2017 +0100
+++ 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 () {