changeset 3004:f57581f20068

Merge branch 'master' into vnext
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Thu, 03 Aug 2017 14:51:01 +0200
parents beb60cab1f66 (current diff) b08ccdb5cb8f (diff)
children cf4bf84c3e7b 3342bc1f3256
files
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/interfaces/mushra.js	Wed Aug 02 07:42:50 2017 +0100
+++ b/interfaces/mushra.js	Thu Aug 03 14:51:01 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 () {