changeset 2922:7fa175a37aca master

Merge branch 'master' of https://github.com/BrechtDeMan/WebAudioEvaluationTool
author www-data <www-data@sucuk.dcs.qmul.ac.uk>
date Thu, 03 Aug 2017 18:24:46 +0100
parents db5e601861e6 (current diff) b08ccdb5cb8f (diff)
children
files
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/interfaces/mushra.js	Wed Aug 02 08:24:40 2017 +0100
+++ b/interfaces/mushra.js	Thu Aug 03 18:24:46 2017 +0100
@@ -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 () {