Mercurial > hg > webaudioevaluationtool
comparison interfaces/AB.js @ 3138:21ee5bcf80a3
Hotfix for AB tests with page interface axis
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Tue, 12 Nov 2019 16:09:53 +0000 |
parents | 20de79c56ad7 |
children |
comparison
equal
deleted
inserted
replaced
3137:669f50f1941d | 3138:21ee5bcf80a3 |
---|---|
325 } | 325 } |
326 }; | 326 }; |
327 this.exportXMLDOM = function (audioObject) { | 327 this.exportXMLDOM = function (audioObject) { |
328 var node = storage.document.createElement('value'); | 328 var node = storage.document.createElement('value'); |
329 node.textContent = this.value; | 329 node.textContent = this.value; |
330 var iname = testState.getCurrentTestPage().interfaces[0].name; | |
331 if (typeof iname == "string") { | |
332 node.setAttribute("interface-name", iname); | |
333 } | |
330 return node; | 334 return node; |
331 }; | 335 }; |
332 this.getValue = function () { | 336 this.getValue = function () { |
333 return this.value; | 337 return this.value; |
334 }; | 338 }; |